From: Jason Xing <kernelxing@xxxxxxxxxxx> Patch 1 makes sure the consumer is updated at the end of generic xmit. Patch 2 adds corresponding test. Jason Xing (2): net: xsk: update tx queue consumer immediately after transmission selftests/bpf: check if the global consumer updates in time net/xdp/xsk.c | 17 ++++--- tools/testing/selftests/bpf/xskxceiver.c | 60 +++++++++++++++++++----- 2 files changed, 58 insertions(+), 19 deletions(-) -- 2.41.3