hv_netvsc: Exclude non-TCP port numbers from vRSS hashing
authorHaiyang Zhang <haiyangz@microsoft.com>
Wed, 12 Apr 2017 18:45:18 +0000 (11:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Apr 2017 15:05:19 +0000 (11:05 -0400)
commitf72860afa2e32cdc674cbdd7f354f8fb62e908a6
treeada7eff8af8295b23261812f3e0f8b58b5ba939f
parent8db91f6a9b2ff2bb5355ad11c668fe63eb8ae0c3
hv_netvsc: Exclude non-TCP port numbers from vRSS hashing

Azure hosts are not supporting non-TCP port numbers in vRSS hashing for
now. For example, UDP packet loss rate will be high if port numbers are
also included in vRSS hash.

So, we created this patch to use only IP numbers for hashing in non-TCP
traffic.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c