• Ron Mercer's avatar
    qlge: Fix MAC address bonding issue. · 7fab3bfe
    Ron Mercer authored
    This addes functionality to set/clear the MAC address in the hardware
    when the link goes up/down.
    The MAC address register is persistent across function resets. In
    bonding the same address can bounce from one port to the other.  This
    can cause packets to be delivered to the wrong port.
    This patch clears the MAC address in the hardware when the link is down
    and sets it when the link comes up.
    It was found that pulling/pushing the cable from one port to another
    causes the same MAC address to be in both ports.
    The next patch in this series will use this functionality as well.
    Signed-off-by: default avatarRon Mercer <ron.mercer@qlogic.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    7fab3bfe
qlge_main.c 112 KB