diff options
author | stephen hemminger | 2017-01-24 13:05:59 -0800 |
---|---|---|
committer | David S. Miller | 2017-01-24 16:28:57 -0500 |
commit | 23312a3be999c22ec70c0fdf9f01cdee05fac986 (patch) | |
tree | 67c073649ed33137e6f6735cf7f29743c3029781 /drivers/net/can/usb | |
parent | 0b307ebd6834012c483b8ee9801164123a54f79a (diff) |
netvsc: negotiate checksum and segmentation parameters
Redo how Hyper-V network driver negotiates offload features. Query the
host to determine offload settings, and use the result.
Also:
* disable IPv4 header checksum offload (not used by Linux)
* enable TSO only if host supports
* enable UDP checksum offload if supported
* don't advertise support for checksumming of non-IP protocols
* adjust GSO maximum segment size
* enable HIGHDMA
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can/usb')
0 files changed, 0 insertions, 0 deletions