[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190531185705.2629959-1-jonathan.lemon@gmail.com>
Date: Fri, 31 May 2019 11:57:03 -0700
From: Jonathan Lemon <jonathan.lemon@...il.com>
To: <netdev@...r.kernel.org>
CC: <kernel-team@...com>, <bjorn.topel@...el.com>,
<magnus.karlsson@...el.com>
Subject: [PATCH v3 bpf-next 0/2] Better handling of xskmap entries
Respin of v2 to fix stupid error.
Testing with samples/bpf/xdpsock:
[root@...neltest004.06.atn2 ~]# ./xdpsock -i eth0 -q 0
sock0@...0: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
Powered by blists - more mailing lists