diff options
| author | Nikhil P. Rao <nikhil.rao@amd.com> | 2026-02-25 03:00:27 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-02-28 19:55:11 +0300 |
| commit | f7387d6579d65efd490a864254101cb665f2e7a7 (patch) | |
| tree | efe2e3a637547b1c1dfb26c2e76b3f64dacafce4 /tools/perf/scripts/python | |
| parent | 60abb0ac11dccd6b98fd9182bc5f85b621688861 (diff) | |
| download | linux-f7387d6579d65efd490a864254101cb665f2e7a7.tar.xz | |
xsk: Fix zero-copy AF_XDP fragment drop
AF_XDP should ensure that only a complete packet is sent to application.
In the zero-copy case, if the Rx queue gets full as fragments are being
enqueued, the remaining fragments are dropped.
For the multi-buffer case, add a check to ensure that the Rx queue has
enough space for all fragments of a packet before starting to enqueue
them.
Fixes: 24ea50127ecf ("xsk: support mbuf on ZC RX")
Signed-off-by: Nikhil P. Rao <nikhil.rao@amd.com>
Link: https://patch.msgid.link/20260225000456.107806-3-nikhil.rao@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
