aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMagnus Karlsson <[email protected]>2020-06-23 11:44:17 +0200
committerTony Nguyen <[email protected]>2020-07-01 14:27:11 -0700
commit4b5539c01ddf838ea6f5b67d00ee035231c8248a (patch)
tree58d71b8f7f4bef76d2fa7d921f051b3ecdb98fae /tools/perf/scripts/python/bin
parent5574ff7b7b3d864556173bf822796593451a6b8c (diff)
i40e: eliminate division in napi_poll data path
Eliminate a division in the napi_poll data path. This division is executed even though it is only needed in the rare case when there are not enough interrupt lines so they have to be shared between queue pairs. Instead, just test for this case and only execute the division if needed. The code has been lifted from the ice driver. Signed-off-by: Magnus Karlsson <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions