]> 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)
commitce34ad1e51b56b36cba008a59e99b17e6490278a
treeada7eff8af8295b23261812f3e0f8b58b5ba939f
parent3344de730ac4cce74139e89019e64dd87d320a31
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