summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests
diff options
context:
space:
mode:
authorMagnus Karlsson <magnus.karlsson@intel.com>2020-06-23 12:44:17 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2020-07-02 00:27:11 +0300
commit4b5539c01ddf838ea6f5b67d00ee035231c8248a (patch)
tree58d71b8f7f4bef76d2fa7d921f051b3ecdb98fae /tools/testing/selftests/bpf/prog_tests
parent5574ff7b7b3d864556173bf822796593451a6b8c (diff)
downloadlinux-4b5539c01ddf838ea6f5b67d00ee035231c8248a.tar.xz
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 <magnus.karlsson@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions