diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2009-07-02 06:06:11 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-03 19:10:41 -0700 |
commit | 7fab3bfe08a2c5c4221685499ec4fef83ad82f83 (patch) | |
tree | 1c1baca2eabb0c4185aa8641854a3cb306cf5e28 /drivers/net/qlge/qlge_mpi.c | |
parent | 13cfd5be53d01a9316907512f17f34d3858450e8 (diff) |
qlge: Fix MAC address bonding issue.
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: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge/qlge_mpi.c')
0 files changed, 0 insertions, 0 deletions