]> git.proxmox.com Git - mirror_ovs.git/commit
userspace TSO: SCTP checksum offload optional.
authorFlavio Leitner <fbl@sysclose.org>
Fri, 14 Feb 2020 13:03:36 +0000 (10:03 -0300)
committerIlya Maximets <i.maximets@ovn.org>
Wed, 26 Feb 2020 14:24:15 +0000 (15:24 +0100)
commit35b5586ba7ab2d7f53decb978df6bfea4600f6d4
tree20405cf429d942ad6338477e47266091bf674f64
parent8c5163fe81ea05313eaefcd61cf036dd3fd2ae07
userspace TSO: SCTP checksum offload optional.

Ideally SCTP checksum offload needs be advertised by the
NIC when userspace TSO is enabled. However, very few drivers
do that and it's not a widely used protocol. So, this patch
enables SCTP checksum offload if available, otherwise userspace
TSO can still be enabled but SCTP packets will be dropped on
NICs without support.

Fixes: 29cf9c1b3b9c ("userspace: Add TCP Segmentation Offload support")
Signed-off-by: Flavio Leitner <fbl@sysclose.org>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Documentation/topics/userspace-tso.rst
lib/netdev-dpdk.c
lib/netdev-linux.c
lib/netdev-provider.h
lib/netdev.c