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>
Sun, 26 Jan 2020 09:01:06 +0000 (10:01 +0100)
commitca52b5cd5d18c18a24327f192d145df70fad3186
tree61db763c77ceae1161cd1f1f1d69c5f484bf9b29
parent79310c41b0c789a98ab662c02263cc4038ffd023
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