diff options
author | Maciej Fijalkowski <[email protected]> | 2022-01-25 17:04:45 +0100 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2022-01-27 17:25:33 +0100 |
commit | 126cdfe1007acb3632d054a4a68a0174bd47f17d (patch) | |
tree | 7cc6323a5f94c5dca16bb322cf37ff939ad2cc33 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 86e3f78c8d324b410fbe79dcdc702a366e5c5341 (diff) |
ice: xsk: Improve AF_XDP ZC Tx and use batching API
Apply the logic that was done for regular XDP from commit 9610bd988df9
("ice: optimize XDP_TX workloads") to the ZC side of the driver. On top
of that, introduce batching to Tx that is inspired by i40e's
implementation with adjustments to the cleaning logic - take into the
account NAPI budget in ice_clean_xdp_irq_zc().
Separating the stats structs onto separate cache lines seemed to improve
the performance.
Signed-off-by: Maciej Fijalkowski <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Alexander Lobakin <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions