linux_dsm_epyc7002/drivers/net/hyperv
Haiyang Zhang 0518ec4f9d hv_netvsc: Add ethtool handler to set and get TCP hash levels
The patch supports the options to switch TCP hash level between
L3 and L4 by ethtool command. TCP over IPv4 and v6 can be set
differently. The default hash level is L4. We currently only
allow switching TX hash level from within the guests.

For example, for TCP over IPv4 on eth0:
To include TCP port numbers in hashing:
	ethtool -N eth0 rx-flow-hash tcp4 sdfn
To exclude TCP port numbers in hashing:
	ethtool -N eth0 rx-flow-hash tcp4 sd
To show TCP hash level:
	ethtool -n eth0 rx-flow-hash tcp4

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-08 10:11:01 -07:00
..
hyperv_net.h hv_netvsc: Change the hash level variable to bit flags 2017-10-08 10:11:01 -07:00
Kconfig
Makefile
netvsc_drv.c hv_netvsc: Add ethtool handler to set and get TCP hash levels 2017-10-08 10:11:01 -07:00
netvsc.c hv_netvsc: report stop_queue and wake_queue 2017-10-01 04:10:30 +01:00
rndis_filter.c hv_netvsc: avoid unnecessary wakeups on subchannel creation 2017-09-11 14:21:30 -07:00