On 2019-04-26 13:42, Maxim Mikityanskiy wrote:
This series contains improvements to the AF_XDP kernel infrastructure. They are required for the upcoming AF_XDP support in mlx5e, but also some of them benefit to all drivers, and some can be useful for other drivers that want to implement AF_XDP. ,
Maxim, Firstly; It's exciting to see Mellanox continuing to invest in XDP/BPF! Keep it up! I'll comment on the individual patches. Going forward, please rebase/tag the patches to bpf-next (and add the bpf mailing list). Cheers, Björn
Maxim Mikityanskiy (6): samples/bpf: Add hbm to .gitignore xsk: Add API to check for available entries in FQ xsk: Add getsockopt XDP_OPTIONS xsk: Extend channels to support combined XSK/non-XSK traffic xsk: Change the default frame size to 4096 and allow controlling it xsk: Return the whole xdp_desc from xsk_umem_consume_tx drivers/net/ethernet/intel/i40e/i40e_xsk.c | 12 +- drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c | 15 ++- include/net/xdp_sock.h | 28 +++- include/uapi/linux/if_xdp.h | 18 +++ net/xdp/xsk.c | 45 +++++-- net/xdp/xsk_queue.h | 15 +++ samples/bpf/.gitignore | 1 + samples/bpf/xdpsock_user.c | 47 +++++-- tools/include/uapi/linux/if_xdp.h | 18 +++ tools/lib/bpf/xsk.c | 127 +++++++++++++++---- tools/lib/bpf/xsk.h | 6 +- 11 files changed, 267 insertions(+), 65 deletions(-)