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(-) -- 1.9.3