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)
commit279abdf59c766a06db89b50c6d3615b4f2b19ed3
tree323b4e730592d764b7a3b49e8cf4a134872fceb7
parent3c2b8d180a47d041e9101ead27e49d237df0f1d1
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