]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c41bc9acbae098cd810aa029bd25a5cd88bec4f
tree6df522b4dc1374f5a738cf54612ecfc9b4ae340e
parenta81ee6742e8b43c95d144bcb21682c64796fb547
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