diff options
author | 2017-01-24 13:05:59 -0800 | |
---|---|---|
committer | 2017-01-24 16:28:57 -0500 | |
commit | 23312a3be999c22ec70c0fdf9f01cdee05fac986 (patch) | |
tree | 67c073649ed33137e6f6735cf7f29743c3029781 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | netvsc: remove no longer needed receive staging buffers (diff) | |
download | wireguard-linux-23312a3be999c22ec70c0fdf9f01cdee05fac986.tar.xz wireguard-linux-23312a3be999c22ec70c0fdf9f01cdee05fac986.zip |
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions