diff options
| author | Jason Xing <[email protected]> | 2025-07-03 14:17:12 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-09 01:28:07 +0000 |
| commit | 680acde13ffd10ae4b95ed7d8f1633df38180462 (patch) | |
| tree | 9c13eb9439cb43c0ca2d1117c2773fdbb081316f /net/lapb/lapb_iface.c | |
| parent | net: xsk: update tx queue consumer immediately after transmission (diff) | |
| download | kernel-680acde13ffd10ae4b95ed7d8f1633df38180462.tar.gz kernel-680acde13ffd10ae4b95ed7d8f1633df38180462.zip | |
selftests/bpf: add a new test to check the consumer update case
The subtest sends 33 packets at one time on purpose to see if xsk
exitting __xsk_generic_xmit() updates the global consumer of tx queue
when reaching the max loop (max_tx_budget, 32 by default). The number 33
can avoid xskq_cons_peek_desc() updates the consumer when it's about to
quit sending, to accurately check if the issue that the first patch
resolves remains. The new case will not check this issue in zero copy
mode.
Signed-off-by: Jason Xing <[email protected]>
Acked-by: Maciej Fijalkowski <[email protected]>
Acked-by: Stanislav Fomichev <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
