Re: [PATCH net-next 1/2] virtio-net: re enable XDP_REDIRECT for mergeable buffer

From: Jason Wang
Date: Thu Mar 01 2018 - 23:21:15 EST




On 2018å03æ01æ 21:36, Michael S. Tsirkin wrote:
On Thu, Mar 01, 2018 at 11:19:04AM +0800, Jason Wang wrote:
XDP_REDIRECT support for mergeable buffer was removed since commit
7324f5399b06 ("virtio_net: disable XDP_REDIRECT in receive_mergeable()
case"). This is because we don't reserve enough tailroom for struct
skb_shared_info which breaks XDP assumption. Other complaints are, the
complex linearize logic and EWMA estimation may increase the
possibility of linearizing.

Signed-off-by: Jason Wang<jasowang@xxxxxxxxxx>
How about reposting just this patch for net? It's pretty small
and this way we don't have broken redirect there.
Probably keeping the linearize in here to reduce the
amount of changes.


Looks possible, let me post a version for net.

Thanks