[DragonFlyBSD - Bug #3089] vtnet(4) - disable TCP checksum offload by default

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sun Oct 22 02:28:18 PDT 2017


Issue #3089 has been updated by vadaszi.


I cherry-picked 849f77c77acc4d5041fa638b364cb6a296a8051b (from a few days ago, which is also just disabling checksum offload) from git master to the DragonFly_RELEASE_5_0 branch.

----------------------------------------
Bug #3089: vtnet(4) - disable TCP checksum offload by default
http://bugs.dragonflybsd.org/issues/3089#change-13284

* Author: jlane
* Status: New
* Priority: Normal
* Assignee: 
* Category: Driver
* Target version: 5.0.0
----------------------------------------
The existing TCP checksum offset for this driver causes ~95% retransmit rates for TCP IPv6 packets.  This makes the driver effectively useless in its current state on IPv6 networks.  Fixing the checksum offload code is beyond my expertise at this time, so we should at least disable the offload by default.

Patch for sys/dev/virtual/virtio/net/if_vtnet.c:

166c166
< static int vtnet_csum_disable = 0;
---
> static int vtnet_csum_disable = 1; //broken for IPv6, disable by default




-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list