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 <f...@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....@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....@linux.alibaba.com>
>     Signed-off-by: David S. Miller <da...@davemloft.net>
>
>
> So, the minimum kernel version is 4.19.
>
Thanks,
I sent a patch to update the documentation. Please take a look.
William

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to