sfc: clean fallbacks between promisc/normal in efx_ef10_filter_sync_rx_mode
authorEdward Cree <ecree@solarflare.com>
Tue, 21 Jul 2015 14:11:00 +0000 (15:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jul 2015 05:21:32 +0000 (22:21 -0700)
commit12fb0da45c9a077dd76d9848f791fbdd4b8d4050
treed6ed843d936c843ac6fb2d22fb8fa03712e365bf
parentab8b1f7cf83a3016dcdeae874a469e2c8894fcd9
sfc: clean fallbacks between promisc/normal in efx_ef10_filter_sync_rx_mode

Separate functions for inserting individual and promisc filters; explicit
 fallback logic in efx_ef10_filter_sync_rx_mode(), in order not to overload
 the 'promisc' flag as also meaning "fall back to promisc".

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c