]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Stop management traffic in loopback test
authorEilon Greenstein <eilong@broadcom.com>
Tue, 21 Jul 2009 05:47:22 +0000 (05:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2009 18:18:26 +0000 (11:18 -0700)
commit78c27cd03d92dd5d312db515436d79900cb17922
tree323b4e730592d764b7a3b49e8cf4a134872fceb7
parent0d7fd32a0bd8e762ef78cbaef330b3e99a1b3174
bnx2x: Stop management traffic in loopback test

Since management traffic cannot go on the wire while configured to loopback,
simply stop it to avoid race condition when the MAC is set to loopback in the
middle of a packet

Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_main.c
drivers/net/bnx2x_reg.h