diff options
author | Magnus Karlsson <[email protected]> | 2020-06-23 11:44:17 +0200 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2020-07-01 14:27:11 -0700 |
commit | 4b5539c01ddf838ea6f5b67d00ee035231c8248a (patch) | |
tree | 58d71b8f7f4bef76d2fa7d921f051b3ecdb98fae /scripts/bpf_helpers_doc.py | |
parent | 5574ff7b7b3d864556173bf822796593451a6b8c (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 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions