Re: [PATCH net-next 1/2] virtio-net: don't reserve space for vnet header for XDP

From: Jason Wang
Date: Thu May 07 2020 - 21:59:46 EST



On 2020/5/6 äå5:46, Michael S. Tsirkin wrote:
There
are a lot of unanswered questions on how this will be implemented.
Thus, I cannot layout how we are going to leverage this info yet, but
your patch are killing this info, which IHMO is going in the wrong
direction.
I can copy vnet header ahead of data_hard_start, does it work for you?

Thanks
That's likely to be somewhat expensive.


Any better approach? Note that it's not the issue that is introduced in this patch. Anyhow the header adjustment may just overwrite the vnet header even without this patch.

Thanks