]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit68d10b65c486568d2b19515ffd539675c9c921cd
treeada7eff8af8295b23261812f3e0f8b58b5ba939f
parent9e0d4d3f67305b06edf81ee38e3c70e28af47963
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