diff options
author | Sriram Yagnaraman <sriram.yagnaraman@est.tech> | 2025-01-07 01:19:13 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-08 05:14:08 +0300 |
commit | 2c6196013f84651772388a86dfd4bb033d0c0d45 (patch) | |
tree | 99947262724dd324a5b716d9192a7cf84b2d28bb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0fe7cce6000c0976e3cd3e2d8cd4c9f1f24a55a3 (diff) | |
download | linux-2c6196013f84651772388a86dfd4bb033d0c0d45.tar.xz |
igb: Add AF_XDP zero-copy Rx support
Add support for AF_XDP zero-copy receive path.
When AF_XDP zero-copy is enabled, the rx buffers are allocated from the
xsk buff pool using igb_alloc_rx_buffers_zc().
Use xsk_pool_get_rx_frame_size() to set SRRCTL rx buf size when zero-copy
is enabled.
Signed-off-by: Sriram Yagnaraman <sriram.yagnaraman@est.tech>
[Kurt: Port to v6.12 and provide napi_id for xdp_rxq_info_reg(),
RCT, remove NETDEV_XDP_ACT_XSK_ZEROCOPY, update NTC handling,
READ_ONCE() xsk_pool, likelyfy for XDP_REDIRECT case]
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
Acked-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Tested-by: George Kuruvinakunnel <george.kuruvinakunnel@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Link: https://patch.msgid.link/20250106221929.956999-6-anthony.l.nguyen@intel.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