git: if_vtnet - Disable rx csum offload due to unsupported ipv6 rx csum offload.
Imre Vadasz
ivadasz at crater.dragonflybsd.org
Tue Oct 17 14:33:36 PDT 2017
commit dddbf4cd54036c88ab90de54668f542d70b771b0
Author: Imre Vadász <imre at vdsz.com>
Date: Tue Oct 17 22:11:08 2017 +0200
if_vtnet - Disable rx csum offload due to unsupported ipv6 rx csum offload.
* Ignoring the checksum offloading in the receive path of the driver isn't
sufficient, since we might receive only partially checksummed packets
from the host.
* Unfortunately there is only a single feature flag for both ipv4 and ipv6
receive checksum offloading, so we need to disable both for now.
* At the moment we don't support a way to explicitly enable the rx csum
feature at runtime, but this will be easily possible by adding support
for the VIRTIO_NET_F_CTRL_GUEST_OFFLOADS feature.
* Mention this as a caveat in the manpage.
* Update correct default value of hw.vtnet.lro_disable tunable in the
manpage, to match the code again.
Summary of changes:
share/man/man4/vtnet.4 | 9 +++++++--
sys/dev/virtual/virtio/net/if_vtnet.c | 8 ++++++++
2 files changed, 15 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/dddbf4cd54036c88ab90de54668f542d70b771b0
--
DragonFly BSD source repository
More information about the Commits
mailing list