bnx2x: Duplication in promisc mode
authorVladislav Zolotarov <vladz@broadcom.com>
Sun, 6 Feb 2011 19:21:49 +0000 (11:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Feb 2011 19:21:49 +0000 (11:21 -0800)
commit711c914688163dbe757c174788e20695088478e5
tree6df522b4dc1374f5a738cf54612ecfc9b4ae340e
parentbf1f9ae05036e12035f8e9a48f3dcf4dd14fdada
bnx2x: Duplication in promisc mode

Prevent packets duplication for frames targeting FCoE L2 ring:
packets were arriving to stack from both L2 RSS and from FCoE
L2 in a promiscuous mode.

Configure FCoE L2 ring to DROP_ALL rx mode, when interface is
configured to PROMISC, and to accept only unicast frames, when
interface is configured to ALL_MULTI.

Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_main.c