diff options
author | Jon Cooper <jcooper@solarflare.com> | 2013-09-16 15:18:51 +0200 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2013-12-12 23:05:48 +0100 |
commit | 74cd60a4d7b4f686146efd7ed211974691f0c2c1 (patch) | |
tree | d6454c540ab6a192f8147173e3cf73e669de28c4 /drivers/net/ethernet/sfc/enum.h | |
parent | sfc: Update MCDI protocol definitions (diff) | |
download | linux-74cd60a4d7b4f686146efd7ed211974691f0c2c1.tar.xz linux-74cd60a4d7b4f686146efd7ed211974691f0c2c1.zip |
sfc: Add MC BISTs to ethtool offline self test on EF10
To run BISTs the MC goes down in to a special mode where it will only
respond to MCDI from the testing PF, and TX, RX and event queues are
torn down. Other PFs get a message as it goes down to tell them it's
going down.
When the other PFs get this message, they check the soft status
register to tell when the MC has rebooted after BIST mode and they can
start recovery.
[bwh: Convert the test result to 1 or -1 as for earlier NICs]
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/enum.h')
-rw-r--r-- | drivers/net/ethernet/sfc/enum.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/enum.h b/drivers/net/ethernet/sfc/enum.h index 7fdfee019092..75ef7ef6450b 100644 --- a/drivers/net/ethernet/sfc/enum.h +++ b/drivers/net/ethernet/sfc/enum.h @@ -165,6 +165,7 @@ enum reset_type { RESET_TYPE_DMA_ERROR, RESET_TYPE_TX_SKIP, RESET_TYPE_MC_FAILURE, + RESET_TYPE_MC_BIST, RESET_TYPE_MAX, }; |