[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180522073503.2199-1-bjorn.topel@gmail.com>
Date: Tue, 22 May 2018 09:34:55 +0200
From: Björn Töpel <bjorn.topel@...il.com>
To: magnus.karlsson@...el.com, magnus.karlsson@...il.com, ast@...com,
daniel@...earbox.net, netdev@...r.kernel.org
Cc: Björn Töpel <bjorn.topel@...el.com>
Subject: [PATCH bpf-next 0/8] AF_XDP follow-up patches, uapi and cleanups
From: Björn Töpel <bjorn.topel@...el.com>
This the second follow-up set. The first four patches are uapi
changes:
* Removing rebind support
* Getting rid of structure hole
* Removing explicit cache line alignment
* Stricter bind checks
The last patches do some cleanups, where the umem and refcount_t
changes were suggested by Daniel.
* Add a missing write-barrier and use READ_ONCE for data-dependencies
* Clean up umem and do proper locking
* Convert atomic_t to refcount_t
Björn Töpel (7):
xsk: remove rebind support
xsk: fill hole in struct sockaddr_xdp
xsk: remove explicit ring structure from uapi
samples/bpf: adapt xdpsock to the new uapi
xsk: add missing write- and data-dependency barrier
xsk: simplified umem setup
xsk: convert atomic_t to refcount_t
Magnus Karlsson (1):
xsk: proper queue id check at bind
include/uapi/linux/if_xdp.h | 46 ++++++++---------
net/xdp/xdp_umem.c | 85 +++++++++++++++---------------
net/xdp/xdp_umem.h | 5 +-
net/xdp/xsk.c | 105 +++++++++++++++++++++++--------------
net/xdp/xsk_queue.h | 17 ++++++
samples/bpf/xdpsock_user.c | 123 +++++++++++++++++++++++++++-----------------
6 files changed, 225 insertions(+), 156 deletions(-)
--
2.14.1
Powered by blists - more mailing lists