if_vtnet - Disable rx csum offload due to unsupported ipv6 rx csum offload.
authorImre Vadász <imre@vdsz.com>
Tue, 17 Oct 2017 20:11:08 +0000 (22:11 +0200)
committerImre Vadász <imre@vdsz.com>
Tue, 17 Oct 2017 21:33:02 +0000 (23:33 +0200)
commitdddbf4cd54036c88ab90de54668f542d70b771b0
tree4d023125618b625b11abad43f9d1ef470239e1ff
parent22b7a3dbf6551c308d235ec4c6c793098ee0a61e
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.
share/man/man4/vtnet.4
sys/dev/virtual/virtio/net/if_vtnet.c