OSDN Git Service

hv_netvsc: make recording RSS hash depend on feature flag
authorStephen Hemminger <sthemmin@microsoft.com>
Sat, 23 Nov 2019 23:50:17 +0000 (15:50 -0800)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Sun, 24 Nov 2019 02:42:41 +0000 (18:42 -0800)
commit6f3aeb1ba05d41320e6cf9a60f698d9c4e44348e
treebb60ebfc5f2b7cf2bdcc77b8f96324f4aa398309
parentfc5141cb6a60afd81cf53cf4f9bd986f1b846010
hv_netvsc: make recording RSS hash depend on feature flag

The recording of RSS hash should be controlled by NETIF_F_RXHASH.

Fixes: 1fac7ca4e63b ("hv_netvsc: record hardware hash in skb")
Suggested-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc_drv.c
drivers/net/hyperv/rndis_filter.c