• Somnath Kotur's avatar
    be2net: Fix broadcast echoes from EVB in BE3 · 884476be
    Somnath Kotur authored
    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: default avatarSomnath Kotur <somnath.kotur@emulex.com>
    Signed-off-by: default avatarSathya Perla <sathya.perla@broadcom.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    884476be
be_main.c 147 KB