AF_XDP follow-up patches, uapi and cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | xsk: remove rebind supportnet/ | +9 | 0 replies | |
| 2/8 | xsk: fill hole in struct sockaddr_xdpinclude/ | +1 | 0 replies | |
| 3/8 | xsk: proper queue id check at bindnet/ | +7 | 0 replies | |
| 4/8 | xsk: remove explicit ring structure from uapiinclude/ net/ net/ | +68 | 0 replies | |
| 5/8 | samples/bpf: adapt xdpsock to the new uapisamples/ | +76 | 0 replies | |
| 6/8 | xsk: add missing write- and data-dependency barriernet/ | +9 | 0 replies | |
| 7/8 | xsk: simplified umem setupnet/ net/ net/ | +51 | 0 replies | |
| 8/8 | xsk: convert atomic_t to refcount_tnet/ net/ | +4 | 0 replies |
Reviews trailers per patch
None of the 8 patches has a Reviewed-by or Acked-by.
| Patch | Jesper Dangaard Brouer |
|---|---|
| 1/8 | |
| 2/8 | |
| 3/8 | T-b |
| 4/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next 0/8] AF_XDP follow-up patches, uapi and cleanups
From: Björn Töpel <[email protected]>
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(-)
Signature · 1 line
2.14.1