hv_netvsc: propagate rx filters to VF
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 2 Mar 2018 21:49:09 +0000 (13:49 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:52:11 +0000 (07:52 +0200)
commita0cc3c18d34cdd474ebdb0f6bb4f3408b6223ce0
tree181ebe165ab428d4e7d1501296a91cd2e34f23e2
parented85935eeafbc847ffcf38caa60d1ffd9cc95a51
hv_netvsc: propagate rx filters to VF

[ Upstream commit bee9d41b37ea6b1f860e5bc0989cf1cf1d7e6ab3 ]

The netvsc device should propagate filters to the SR-IOV VF
device (if present). The flags also need to be propagated to the
VF device as well. This only really matters on local Hyper-V
since Azure does not support multiple addresses.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/hyperv/netvsc_drv.c