]> 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)
commitb4c9816eb93200eb6615e69e63cf041ed96e8170
tree1fa246ecbcd525ba8181369ce379f85ef49ed2ba
parentb4120c28b72e8bf4ebf9a1e21fe164a8194f483e
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