]> www.infradead.org Git - users/jedix/linux-maple.git/commit
be2net: Fix broadcast echoes from EVB in BE3
authorSomnath Kotur <somnath.kotur@emulex.com>
Wed, 22 Jun 2016 12:54:55 +0000 (08:54 -0400)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 01:03:45 +0000 (20:03 -0500)
commitcc706205f62219f0c7542ab61d12afaf96b2ec10
treebf2ded5816e72aa707e21ddd49ac422854766eaa
parent8fb39da297ce80cb1a02f650fd72e3544b6a287a
be2net: Fix broadcast echoes from EVB in BE3

Orabug: 25570957

On SR-IOV profiles, when the user connects a Linux Bridge or OVS to a BE3
vport, they suffer the "broadcast/multicast echo" problem. BE3 EVB echoes
broadcast and multicast packets back to PF's vport confusing the
Linux bridge.  BE3 relies on the src-mac addr being programmed on the
interface to avoid sending back an echo of a broadcast or multicast packet
on a vPort. When a Linux bridge is connected to a BE3, the mac-addr of the
VM behind the bridge doesn't get configured on the vPort and so echo
cancellation doesn't work.
This patch worksaround this problem by disabling the EVB initially
and re-enabling it *only* when SR-IOV is enabled by the user. For the
driver fix to work, the BE3 FW version must be >= 11.1.84.0.

Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 884476be065e23bb8e5abda3aad9ba04c17341c3)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_main.c