netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/8] AF_XDP follow-up patches, uapi and cleanups
@ 2018-05-22  7:34 Björn Töpel
  2018-05-22  7:34 ` [PATCH bpf-next 1/8] xsk: remove rebind support Björn Töpel
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Björn Töpel @ 2018-05-22  7:34 UTC (permalink / raw)
  To: magnus.karlsson, magnus.karlsson, ast, daniel, netdev
  Cc: Björn Töpel

From: Björn Töpel <bjorn.topel@intel.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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-05-22  9:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-22  7:34 [PATCH bpf-next 0/8] AF_XDP follow-up patches, uapi and cleanups Björn Töpel
2018-05-22  7:34 ` [PATCH bpf-next 1/8] xsk: remove rebind support Björn Töpel
2018-05-22  7:34 ` [PATCH bpf-next 2/8] xsk: fill hole in struct sockaddr_xdp Björn Töpel
2018-05-22  7:34 ` [PATCH bpf-next 3/8] xsk: proper queue id check at bind Björn Töpel
2018-05-22  7:34 ` [PATCH bpf-next 4/8] xsk: remove explicit ring structure from uapi Björn Töpel
2018-05-22  7:35 ` [PATCH bpf-next 5/8] samples/bpf: adapt xdpsock to the new uapi Björn Töpel
2018-05-22  7:35 ` [PATCH bpf-next 6/8] xsk: add missing write- and data-dependency barrier Björn Töpel
2018-05-22  7:35 ` [PATCH bpf-next 7/8] xsk: simplified umem setup Björn Töpel
2018-05-22  7:35 ` [PATCH bpf-next 8/8] xsk: convert atomic_t to refcount_t Björn Töpel
2018-05-22  8:59 ` [PATCH bpf-next 0/8] AF_XDP follow-up patches, uapi and cleanups Daniel Borkmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).