diff options
| author | Meghana Malladi <m-malladi@ti.com> | 2025-11-18 19:25:38 +0530 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2025-11-20 15:24:11 +0100 |
| commit | 7dfd7597911f52c4d2e0e7b8c710f726ecc9d87f (patch) | |
| tree | 0cb00a8cf69529e5d606a269ac87bc001e4100cf /tools/net/ynl/pyynl/cli.py | |
| parent | 41dde7f1d01343ebebe265edd8f4b59bca591db8 (diff) | |
net: ti: icssg-prueth: Add XSK pool helpers
Implement XSK NDOs (setup, wakeup) and create XSK
Rx and Tx queues. xsk_qid stores the queue id for
a given port which has been registered for zero copy
AF_XDP and used to acquire UMEM pointer if registered.
Based on the xsk_qid and the xsk_pool (umem) the driver
is either in copy or zero copy mode. In case of copy mode
the xsk_qid value will be invalid and will be set to valid
queue id when enabling zero copy. To enable zero copy, the
Rx queues are destroyed, i.e., descriptors pushed to fq
and cq are freed to remap them to xdp buffers from the umem.
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-3-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
