Re: [bpf-next V6 PATCH 15/15] xdp: transition into using xdp_frame for ndo_xdp_xmit

2018-03-28 Thread Jesper Dangaard Brouer
On Tue, 27 Mar 2018 11:33:11 +0200 Jesper Dangaard Brouer wrote: > Changing API ndo_xdp_xmit to take a struct xdp_frame instead of struct > xdp_buff. This brings xdp_return_frame and ndp_xdp_xmit in sync. Maintainers notice, that i40e just got XDP_REDIRECT xmit support in

[bpf-next V6 PATCH 15/15] xdp: transition into using xdp_frame for ndo_xdp_xmit

2018-03-27 Thread Jesper Dangaard Brouer
Changing API ndo_xdp_xmit to take a struct xdp_frame instead of struct xdp_buff. This brings xdp_return_frame and ndp_xdp_xmit in sync. This builds towards changing the API further to become a bulk API, because xdp_buff is not a queue-able object while xdp_frame is. V4: Adjust for commit