[ovs-dev] 答复: [PATCH 0/3] userspace-tso: Improve L4 csum offload support.

=?gb2312?B?WWkgWWFuZyAo0e6gRCkt1Ma3/s7xvK/NxQ==?= yangyi01 at inspur.com
Thu Apr 16 02:16:32 UTC 2020


Ethtool can separately turn off tso

$ ethtool -K vethXXX tso off

$ ethtool -K vethXXX tx off will turn off tx checksum, tso, sg.

TSO depends on tx checksum and sg, so if you just want to turn off tso and
keep tx chechsum on, you can do it in the below way.

$ ethtool -K vethXXX tx on
$ ethtool -K vethXXX tso off


-----邮件原件-----
发件人: dev [mailto:ovs-dev-bounces at openvswitch.org] 代表 William Tu
发送时间: 2020年4月16日 7:49
收件人: Ilya Maximets <i.maximets at ovn.org>
抄送: <dev at openvswitch.org> <dev at openvswitch.org>; Flavio Leitner
<fbl at sysclose.org>
主题: Re: [ovs-dev] [PATCH 0/3] userspace-tso: Improve L4 csum offload
support.

On Fri, Feb 28, 2020 at 7:34 AM Ilya Maximets <i.maximets at ovn.org> wrote:
>
> On 2/14/20 2:03 PM, Flavio Leitner wrote:
> > This patchset disables unsupported offload features for vhost device 
> > such as UFO and ECN.
> >
> > Then it includes UDP checksum offload as a must have to enable 
> > userspace TSO, but leave SCTP as optional. Only a few drivers 
> > support SCTP checksum offload and the protocol is not widely used.

Hi Flavio and Ilya,

I have a question about this.
If we do "other_config:userspace-tso-enable=true", it enables both the TSO
and CSUM offload.
Can we enable only the CSUM offload, but not TSO?
So making it a separate configurations?

Because currently, all the "make check-system-userspace" has to add $
ethtool -K $1 tx off due to no checksum support.
If we make CSUM offload enabled by default, so we don't need to turn off tx
offload?

Regards,
William
_______________________________________________
dev mailing list
dev at openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


More information about the dev mailing list