[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7e5dabd3-5066-de0b-ee5c-eafe77abfb1b@cumulusnetworks.com>
Date: Wed, 12 Apr 2017 20:16:29 -0600
From: David Ahern <dsa@...ulusnetworks.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org, xdp-newbies@...r.kernel.org
Subject: Re: [PATCH v3 net-next RFC] Generic XDP
On 4/12/17 8:08 PM, David Miller wrote:
> From: David Ahern <dsa@...ulusnetworks.com>
> Date: Wed, 12 Apr 2017 13:54:20 -0600
>
>> packet passed to xdp seems to be messed up
> Ok, the problem is that skb->mac_len isn't set properly at this point.
> That doesn't happen until __netif_receive_skb_core().
>
> I'm also not setting xdp.data_hard_start properly.
>
> It should work better with this small diff:
it does.
Powered by blists - more mailing lists