aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorHaiyang Zhang <[email protected]>2017-10-06 08:33:58 -0700
committerDavid S. Miller <[email protected]>2017-10-08 10:11:01 -0700
commit0518ec4f9d8804a9b3ab4306b4b10828f35f715b (patch)
tree9cbaf22e7c8d211c4d49d329f3973daef160beb2 /net/switchdev/switchdev.c
parent486e3981057cacdafd62ba0618612193ff12d1dd (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions