git: DragonFly_RELEASE_5_0 if_vtnet - Disable rx csum offload due to unsupported ipv6 rx csum offload.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sun Oct 22 02:24:25 PDT 2017


commit 849f77c77acc4d5041fa638b364cb6a296a8051b
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/849f77c77acc4d5041fa638b364cb6a296a8051b


-- 
DragonFly BSD source repository



More information about the Commits mailing list