Re: xdp and fragments with virtio

2018-05-18 Thread David Ahern
On 5/17/18 3:24 AM, Jason Wang wrote: > It looks like we wrongly drop packets after linearizing the packets > during XDP_REDIRECT. > > Please try the patch (but I do spot some other issues, will post a series): > > Thanks > > diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c > ind

Re: xdp and fragments with virtio

2018-05-17 Thread Jason Wang
On 2018年05月17日 10:55, David Ahern wrote: On 5/16/18 1:24 AM, Jason Wang wrote: On 2018年05月16日 11:51, David Ahern wrote: Hi Jason: I am trying to test MTU changes to the BPF fib_lookup helper and seeing something odd. Hoping you can help. I have a VM with multiple virtio based NICs and tap

Re: xdp and fragments with virtio

2018-05-16 Thread David Ahern
On 5/16/18 1:24 AM, Jason Wang wrote: > > > On 2018年05月16日 11:51, David Ahern wrote: >> Hi Jason: >> >> I am trying to test MTU changes to the BPF fib_lookup helper and seeing >> something odd. Hoping you can help. >> >> I have a VM with multiple virtio based NICs and tap backends. I install >> t

Re: xdp and fragments with virtio

2018-05-16 Thread Jason Wang
On 2018年05月16日 11:51, David Ahern wrote: Hi Jason: I am trying to test MTU changes to the BPF fib_lookup helper and seeing something odd. Hoping you can help. I have a VM with multiple virtio based NICs and tap backends. I install the xdp program on eth1 and eth2 to do forwarding. In the host

xdp and fragments with virtio

2018-05-15 Thread David Ahern
Hi Jason: I am trying to test MTU changes to the BPF fib_lookup helper and seeing something odd. Hoping you can help. I have a VM with multiple virtio based NICs and tap backends. I install the xdp program on eth1 and eth2 to do forwarding. In the host I send a large packet to eth1: $ ping -s 15