[ovs-dev] Re: Re: Re: [PATCH v4 0/3] Add support for TSO with DPDK

txfh2007 txfh2007 at aliyun.com
Tue Mar 10 08:08:43 UTC 2020


Hi Flavio and all:

     Is there a way to support software TSO for DPDK tunnel network ? I have tried userspace TSO function, and running on tunnel network, I have got the following error:
     "Tunneling packets with HW offload flags is not supported: packet dropped" 
     So is there a way to work around if we would support both vlan and tunnel network on the same compute node ? 
     
Thanks
Timo



------------------------------------------------------------------




On Fri, Feb 28, 2020 at 9:56 AM Flavio Leitner <fbl at sysclose.org> wrote:
>
>
> Hi Yi Yang,
>
> This is the bug fix required to make veth TSO work in OvS:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9d2f67e43b73e8af7438be219b66a5de0cfa8bd9
>
> commit 9d2f67e43b73e8af7438be219b66a5de0cfa8bd9
> Author: Jianfeng Tan <jianfeng.tan at linux.alibaba.com>
> Date:   Sat Sep 29 15:41:27 2018 +0000
>
>     net/packet: fix packet drop as of virtio gso
>
>     When we use raw socket as the vhost backend, a packet from virito with
>     gso offloading information, cannot be sent out in later validaton at
>     xmit path, as we did not set correct skb->protocol which is further used
>     for looking up the gso function.
>
>     To fix this, we set this field according to virito hdr information.
>
>     Fixes: e858fae2b0b8f4 ("virtio_net: use common code for virtio_net_hdr and skb GSO conversion")
>     Signed-off-by: Jianfeng Tan <jianfeng.tan at linux.alibaba.com>
>     Signed-off-by: David S. Miller <davem at davemloft.net>
>
>
> So, the minimum kernel version is 4.19.
>
Thanks,
I sent a patch to update the documentation. Please take a look.
William



More information about the dev mailing list