]> git.baikalelectronics.ru Git - kernel.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)
commit6b0e81377b5d74f1263b5a7b01718cb8814b03f9
tree1fa246ecbcd525ba8181369ce379f85ef49ed2ba
parentb2942bce109b2a4c1878c2f1fbff48e08ad46f30
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