Skip to content
Commit 5bb0c4b5 authored by Björn Töpel's avatar Björn Töpel Committed by Jakub Kicinski
Browse files

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: default avatarMaciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: default avatarBjörn Töpel <bjorn.topel@intel.com>
Link: https://lore.kernel.org/r/20201211085410.59350-1-bjorn.topel@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent bb7eae6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment