OSDN Git Service

hv_netvsc: flag software created hash value
authorStephen Hemminger <sthemmin@microsoft.com>
Fri, 1 Nov 2019 23:42:37 +0000 (16:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jan 2020 13:51:21 +0000 (14:51 +0100)
commitced84017c91461d480a1cc35367e07bcaf803256
treece363d3cbb8e62c45546051ec7c964fd97da0b5d
parent0d9231e29601bc6e26192ac59b63f2373cf88423
hv_netvsc: flag software created hash value

[ Upstream commit df9f540ca74297a84bafacfa197e9347b20beea5 ]

When the driver needs to create a hash value because it
was not done at higher level, then the hash should be marked
as a software not hardware hash.

Fixes: f72860afa2e3 ("hv_netvsc: Exclude non-TCP port numbers from vRSS hashing")
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/hyperv/netvsc_drv.c