[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1503368560-14331-1-git-send-email-haiyangz@exchange.microsoft.com>
Date: Mon, 21 Aug 2017 19:22:36 -0700
From: Haiyang Zhang <haiyangz@...hange.microsoft.com>
To: davem@...emloft.net, netdev@...r.kernel.org
Cc: haiyangz@...rosoft.com, kys@...rosoft.com, olaf@...fle.de,
vkuznets@...hat.com, linux-kernel@...r.kernel.org
Subject: [PATCH net-next,0/4] hv_netvsc: Ethtool handler to change UDP hash levels
From: Haiyang Zhang <haiyangz@...rosoft.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(-)
Powered by blists - more mailing lists