Project

General

Profile

Actions

Bug #3089

open

vtnet(4) - disable TCP checksum offload by default

Added by jlane about 4 years ago. Updated 7 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
Driver
Target version:
Start date:
10/21/2017
Due date:
% Done:

0%

Estimated time:

Description

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


Related issues

Related to Bug #3090: VirtIO/vtnet: very poor IPv6 receiving performance (~100x slower)Closedvadaszi10/23/2017

Actions
Actions #1

Updated by vadaszi about 4 years ago

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.

Actions #2

Updated by vadaszi about 4 years ago

  • Status changed from New to In Progress
  • Assignee set to vadaszi
Actions #3

Updated by liweitianux about 4 years ago

  • Related to Bug #3090: VirtIO/vtnet: very poor IPv6 receiving performance (~100x slower) added
Actions #4

Updated by tuxillo 7 months ago

  • Target version changed from 5.0 to 6.0
Actions

Also available in: Atom PDF