diff options
| author | Meghana Malladi <m-malladi@ti.com> | 2025-11-18 19:25:39 +0530 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2025-11-20 15:24:11 +0100 |
| commit | 8756ef2eb078d9c92f7578c308e1650bb51c7f45 (patch) | |
| tree | e28ddd4941262abfb6fcb35a3ea6f935d10807cb /tools/net/ynl/pyynl/cli.py | |
| parent | 7dfd7597911f52c4d2e0e7b8c710f726ecc9d87f (diff) | |
net: ti: icssg-prueth: Add AF_XDP zero copy for TX
Use xsk_pool inside tx_chn to check if a given Tx queue id
is registered for xsk zero copy, which gets populated during
xsk enable
If xsk_pool is set, get frames from the pool in NAPI
context and submit them to the Tx channel. Tx completion
is also handled in the NAPI context.
Use PRUETH_SWDATA_XSK to recycle xsk buffers back to the
umem pool. Add XDP_WAKEUP_TX support to enable xsk_wakeup
for Tx.
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Meghana Malladi <m-malladi@ti.com>
Link: https://patch.msgid.link/20251118135542.380574-4-m-malladi@ti.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/net/ynl/pyynl/cli.py')
0 files changed, 0 insertions, 0 deletions
