diff options
author | Weqaar Janjua <[email protected]> | 2020-08-29 00:17:17 +0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-08-31 23:00:43 +0200 |
commit | b69e56cf765155dcac0037d7d0f162a2afab76c2 (patch) | |
tree | 9bb104f267bd9468f6dfe98e5f695ead396ee2f0 /drivers/gpu/drm/virtio/virtgpu_object.c | |
parent | c8a039a47ffe06077929f29c9d4c7cba01a2104b (diff) |
samples/bpf: Fix to xdpsock to avoid recycling frames
The txpush program in the xdpsock sample application is supposed
to send out all packets in the umem in a round-robin fashion.
The problem is that it only cycled through the first BATCH_SIZE
worth of packets. Fixed this so that it cycles through all buffers
in the umem as intended.
Fixes: 248c7f9c0e21 ("samples/bpf: convert xdpsock to use libbpf for AF_XDP access")
Signed-off-by: Weqaar Janjua <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Björn Töpel <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/gpu/drm/virtio/virtgpu_object.c')
0 files changed, 0 insertions, 0 deletions