Skip to content

Two generic xdp related follow-ups

Daniel Borkmann netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Implemented feedback from Jakub Kicinski (reusing attribute on dump), thanks!
- Rest as is.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xdp: add flag to enforce driver modeinclude/uapi/linux/if_link.h net/core/dev.c net/core/rtnetlink.c +2 more+23 -50 replies
2/2xdp: refine xdp api with regards to generic xdpinclude/linux/netdevice.h include/uapi/linux/if_link.h net/core/dev.c +1 more+67 -431 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAlexei Starovoitov
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net v2 0/2] Two generic xdp related follow-ups

Two follow-ups for the generic XDP API, would be great if both could still be considered, since the XDP API is not frozen yet. For details please see individual patches.

v1 -> v2:
- Implemented feedback from Jakub Kicinski (reusing attribute on dump), thanks!
- Rest as is.

Thanks!

Daniel Borkmann (2):
xdp: add flag to enforce driver mode
xdp: refine xdp api with regards to generic xdp

 include/linux/netdevice.h          |  8 ++++--
 include/uapi/linux/if_link.h       | 13 +++++++--
 net/core/dev.c                     | 57 +++++++++++++++++++++++++-------------
 net/core/rtnetlink.c               | 45 +++++++++++++++---------------
 samples/bpf/xdp1_user.c            |  8 ++++--
 samples/bpf/xdp_tx_iptunnel_user.c |  7 ++++-
 6 files changed, 90 insertions(+), 48 deletions(-)
Signature · 1 line
1.9.3