On 2 Jul 2019, at 0:07, Maxim Mikityanskiy wrote: > On 2019-06-29 01:15, Jonathan Lemon wrote: >> + xdpf = convert_to_xdp_frame_keep_zc(xdp); >> + if (unlikely(!xdpf)) >> + return I40E_XDP_CONSUMED; >> + xdpf->handle = xdp->handle; > > Shouldn't this line belong to convert_to_xdp_frame_keep_zc (and the > previous patch)? It looks like it's code common for all drivers, and > also patch 1 adds the handle field, but doesn't use it, which looks weird. Good point. I'll move it into the function. -- Jonathan
- [PATCH 0/3 bpf-next] intel: AF_XDP support for TX of RX... Jonathan Lemon
- [PATCH 1/3 bpf-next] net: add convert_to_xdp_frame... Jonathan Lemon
- Re: [PATCH 1/3 bpf-next] net: add convert_to_x... Magnus Karlsson
- [PATCH 3/3 bpf-next] ixgbe: Support zero-copy XDP_... Jonathan Lemon
- [PATCH 2/3 bpf-next] i40e: Support zero-copy XDP_T... Jonathan Lemon
- Re: [PATCH 2/3 bpf-next] i40e: Support zero-co... Magnus Karlsson
- Re: [PATCH 2/3 bpf-next] i40e: Support zero-co... Maxim Mikityanskiy
- Re: [PATCH 2/3 bpf-next] i40e: Support zer... Jonathan Lemon
- Re: [PATCH 0/3 bpf-next] intel: AF_XDP support for... Magnus Karlsson