Re: [PATCH bpf-next 09/11] i40e: implement AF_XDP zero-copy support for Rx

2018-06-07 Thread Björn Töpel
Den mån 4 juni 2018 kl 22:35 skrev Alexander Duyck : > > On Mon, Jun 4, 2018 at 5:05 AM, Björn Töpel wrote: > > From: Björn Töpel > > > > This commit adds initial AF_XDP zero-copy support for i40e-based > > NICs. First we add support for the new XDP_QUERY_XSK_UMEM and > > XDP_SETUP_XSK_UMEM comma

Re: [PATCH bpf-next 09/11] i40e: implement AF_XDP zero-copy support for Rx

2018-06-04 Thread Alexander Duyck
On Mon, Jun 4, 2018 at 5:05 AM, Björn Töpel wrote: > From: Björn Töpel > > This commit adds initial AF_XDP zero-copy support for i40e-based > NICs. First we add support for the new XDP_QUERY_XSK_UMEM and > XDP_SETUP_XSK_UMEM commands in ndo_bpf. This allows the AF_XDP socket > to pass a UMEM to t

[PATCH bpf-next 09/11] i40e: implement AF_XDP zero-copy support for Rx

2018-06-04 Thread Björn Töpel
From: Björn Töpel This commit adds initial AF_XDP zero-copy support for i40e-based NICs. First we add support for the new XDP_QUERY_XSK_UMEM and XDP_SETUP_XSK_UMEM commands in ndo_bpf. This allows the AF_XDP socket to pass a UMEM to the driver. The driver will then DMA map all the frames in the U