[Intel-wired-lan] [PATCH v4 0/4] i40e: Support for XDP

John Fastabend john.fastabend at gmail.com
Mon Feb 6 22:02:25 UTC 2017


On 17-02-02 02:57 PM, Alexander Duyck wrote:
> It would likely be several weeks.  I am still trying to finish up the
> out-of-tree build_skb changes for i40e.  Once I have that then I can
> start working on the XDP bits.
> 
> My guess would be that these would probably end up in the 4.12 kernel
> when everything is said and done.

OK, iirc though ixgbe already has these changes and we can add XDP support
without any delays there?

I have a handful of folks wanting to test/use this with adjust_header support
so for the time being I'm going to push a fork to my github branch for folks
to pull. But the sooner the better for mainline support.

Thanks,
John

> 
> - Alex
> 
> On Thu, Feb 2, 2017 at 2:20 PM, John Fastabend <john.fastabend at gmail.com> wrote:
>> On 17-02-01 01:32 PM, Alexander Duyck wrote:
>>> On Tue, Jan 31, 2017 at 2:30 PM, Björn Töpel <bjorn.topel at gmail.com> wrote:
>>>> 2017-01-31 22:37 GMT+01:00 Alexander Duyck <alexander.duyck at gmail.com>:
>>>>> We probably need to respin this and do a v5 of the XDP code so that we
>>>>> can reserve some headroom at the start of the frames.  I have patches
>>>>> I already working on to enable build_skb like I have done for igb and
>>>>> ixgbe.  I can probably take on respinning this and getting it applied
>>>>> to our out-of-tree driver.
>>>>
>>>> Respinning or an additional patch for the xdp_adjust_head()
>>>> support? Maybe it's better to respin it, so we get proper
>>>> xdp_adjust_head() support, prior upstreaming.
>>>
>>> It makes the upstreaming process easier for us since we normally work
>>> out of tree and then upstream patches after testing in the case of
>>> i40e.
>>>
>>
>> Any hints on when we can expect a v5 to show up? I have a few folks
>> pulling these outside Intel that are waiting to get these patches.
>>
>>>> If headroom support for XDP aligns nicely into your build_skb
>>>> patches for i40e, feel free to do that! If not, let me know, and
>>>> I'll start working on it.
>>>
>>> Yeah, I'll be working on providing headroom in order to support
>>> build_skb anyway so I can just combine the efforts.  Then it makes the
>>> upstreaming effort easier as well as we will have the headroom added
>>> before we actually start work on XDP.
>>>
>>> Thanks.
>>>
>>> - Alex
>>>
>>



More information about the Intel-wired-lan mailing list