diff options
author | 2020-12-11 09:54:10 +0100 | |
---|---|---|
committer | 2020-12-14 17:54:42 -0800 | |
commit | 5bb0c4b5eb61d939fed0b27d11fb91fb85769c9a (patch) | |
tree | 8436d884323a18064c0f33382dce1c011d7d20f2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: mtk_eth: simplify the mediatek code return expression (diff) | |
download | wireguard-linux-5bb0c4b5eb61d939fed0b27d11fb91fb85769c9a.tar.xz wireguard-linux-5bb0c4b5eb61d939fed0b27d11fb91fb85769c9a.zip |
ice, xsk: Move Rx allocation out of while-loop
Instead doing the check for allocation in each loop, move it outside
the while loop and do it every NAPI loop.
This change boosts the xdpsock rxdrop scenario with 15% more
packets-per-second.
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Link: https://lore.kernel.org/r/20201211085410.59350-1-bjorn.topel@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions