commit | 7eeb4a6ee4820c4e84895d252079a797f27fc80d | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <stephen@networkplumber.org> | Wed Mar 07 13:49:10 2018 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 08 12:48:56 2018 -0500 |
tree | 6f0e4256c0d7ce88403a1f466ba4da4dbaceb9b3 | |
parent | de3d50aadd40bf68614db9fd157b275ce9c2d467 [diff] |
hv_netvsc: avoid repeated updates of packet filter The netvsc driver can get repeated calls to netvsc_rx_mode during network setup; each of these calls ends up scheduling the lower layers to update tha packet filter. This update requires an request/response to the host. So avoid doing this if we already know that the correct packet filter value is set. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>