lkml.org 
[lkml]   [2017]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net-next,0/4] hv_netvsc: Ethtool handler to change UDP hash levels
Date
From: Haiyang Zhang <haiyangz@microsoft.com>

The patch set adds the functions to switch UDP hash level between
L3 and L4 by ethtool command. UDP 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.

The ethtool callback function is triggered by command line, and
update the per device variables of the hash level.

On Azure, fragmented UDP packets is not yet supported with L4
hashing, and may have high packet loss rate. Using L3 hashing is
recommended in this case. This ethtool option allows a user to
make this selection.

Haiyang Zhang (4):
hv_netvsc: Clean up unused parameter from netvsc_get_hash()
hv_netvsc: Clean up unused parameter from netvsc_get_rss_hash_opts()
hv_netvsc: Add ethtool handler to set and get UDP hash levels
hv_netvsc: Update netvsc Document for UDP hash level setting

Documentation/networking/netvsc.txt | 22 ++++++++--
drivers/net/hyperv/hyperv_net.h | 2 +
drivers/net/hyperv/netvsc_drv.c | 77 +++++++++++++++++++++++++++++++----
3 files changed, 88 insertions(+), 13 deletions(-)

\
 
 \ /
  Last update: 2017-08-22 04:24    [W:0.051 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site