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: add a new test to check the consumer update case net/xdp/xsk.c | 17 ++++---- tools/testing/selftests/bpf/xskxceiver.c | 51 +++++++++++++++++++++++- tools/testing/selftests/bpf/xskxceiver.h | 1 + 3 files changed, 61 insertions(+), 8 deletions(-) -- 2.41.3