diff options
author | Ariel Elior <ariele@broadcom.com> | 2012-01-26 06:01:53 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-26 18:39:52 (GMT) |
commit | 7a752993fe90adf8e150cc1a85beef5f782429e7 (patch) | |
tree | ce11b217e4d6fa9e77ae10a4236d3c6ddf99427e /drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h | |
parent | 95c6c6165eaf5a031bcf31606e081c72e4acdeb8 (diff) | |
download | linux-fsl-qoriq-7a752993fe90adf8e150cc1a85beef5f782429e7.tar.xz |
bnx2x: Recoverable and unrecoverable error statistics
Add statistics for tracking parity errors from which we successfully
recovered and those which were deemed unrecoverable.
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h index 683deb0..9c28db1 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h @@ -199,6 +199,10 @@ struct bnx2x_eth_stats { u32 pfc_frames_received_lo; u32 pfc_frames_sent_hi; u32 pfc_frames_sent_lo; + + /* Recovery */ + u32 recoverable_error; + u32 unrecoverable_error; }; |