Respin of v2 to fix stupid error.
Testing with samples/bpf/xdpsock:
[[email protected] ~]# ./xdpsock -i eth0 -q 0
sock0@eth0:0 rxdrop
pps pkts 1.00
rx 17 17
tx 0 0
Jonathan Lemon (2):
bpf: Allow bpf_map_lookup_elem() on an xskmap
libbpf: remove qidconf and better support external bpf programs.
include/net/xdp_sock.h | 6 +-
kernel/bpf/verifier.c | 6 +-
kernel/bpf/xskmap.c | 4 +-
tools/lib/bpf/xsk.c | 79 ++++---------------
.../bpf/verifier/prevent_map_lookup.c | 15 ----
5 files changed, 27 insertions(+), 83 deletions(-)
--
2.17.1