diff options
author | Sriram Yagnaraman <sriram.yagnaraman@est.tech> | 2025-01-07 01:19:11 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-08 05:14:08 +0300 |
commit | 80f6ccf9f1160ba26cfa4bf90f3cced6f2d12268 (patch) | |
tree | 4ab05893b029f9b224b148d5d119febf04147b64 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6dc75fc230eceedada4adf8c2857636a9dbd00a8 (diff) | |
download | linux-80f6ccf9f1160ba26cfa4bf90f3cced6f2d12268.tar.xz |
igb: Introduce XSK data structures and helpers
Add the following ring flag:
- IGB_RING_FLAG_TX_DISABLED (when xsk pool is being setup)
Add a xdp_buff array for use with XSK receive batch API, and a pointer
to xsk_pool in igb_adapter.
Add enable/disable functions for TX and RX rings.
Add enable/disable functions for XSK pool.
Add xsk wakeup function.
None of the above functionality will be active until
NETDEV_XDP_ACT_XSK_ZEROCOPY is advertised in netdev->xdp_features.
Signed-off-by: Sriram Yagnaraman <sriram.yagnaraman@est.tech>
[Kurt: Add READ/WRITE_ONCE(), synchronize_net(),
remove IGB_RING_FLAG_AF_XDP_ZC]
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
Reviewed-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-4-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