]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
bnx2x: Return only online tests for MF
authorMerav Sicron <meravs@broadcom.com>
Tue, 19 Jun 2012 07:48:23 +0000 (07:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jun 2012 21:34:34 +0000 (14:34 -0700)
commitcf2c1df62e065bfc15e38daf2d3479a56b320f29
tree1fa246ecbcd525ba8181369ce379f85ef49ed2ba
parent8970b2e4393a34ddf5832f9c1568a88087b0d948
bnx2x: Return only online tests for MF

1. In multi-function device, show only the online tests in self-test results as
   only these test are performed (offline tests cannot be performed as they may
   corrupt the traffic of other functions on the same physical port). Note that
   multi-function mode cannot change while the driver is up.
2. Check result code in NIC load and act accordingly.

Signed-off-by: Merav Sicron <meravs@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c