sfc: Fix dup unknown multicast/unicast filters after datapath reset
authorAndrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>
Wed, 15 Jun 2016 16:49:30 +0000 (17:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Jun 2016 05:26:26 +0000 (22:26 -0700)
commit7ac0dd9de6eda438dfeafdebc30a2d67e1e5ad60
tree9431c316e748e7a74b1b65eff4908373e005a3bc
parent8c91562075e8621f6d9a11cfcf31a71a7203cbbe
sfc: Fix dup unknown multicast/unicast filters after datapath reset

Filter match flags are not unique criteria to be mapped to priority
because of both unknown unicast and unknown multicast are mapped to
LOC_MAC_IG. So, local MAC is required to map filter to priority.
MCDI filter flags is unique criteria to find filter priority.

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