diff options
author | Barak Witkowski <barak@broadcom.com> | 2011-12-05 16:52:23 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-06 13:06:04 -0500 |
commit | 50f0a562f8cc9ed9d9f7f7380434c3c8646172d5 (patch) | |
tree | 46dac0a263d322ec15a75d13cbbc7aa1d8b731e7 /drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | |
parent | 0e898dd7a820c258270af36074427e0bed48c8db (diff) |
bnx2x: add fcoe statistics
Add FCoE statistics support for FCoE capable devices.
Signed-off-by: Barak Witkowski <barak@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h index 32af052a96aa..40cfce09b56b 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | |||
@@ -1128,18 +1128,21 @@ enum { | |||
1128 | enum { | 1128 | enum { |
1129 | BNX2X_PORT_QUERY_IDX, | 1129 | BNX2X_PORT_QUERY_IDX, |
1130 | BNX2X_PF_QUERY_IDX, | 1130 | BNX2X_PF_QUERY_IDX, |
1131 | BNX2X_FCOE_QUERY_IDX, | ||
1131 | BNX2X_FIRST_QUEUE_QUERY_IDX, | 1132 | BNX2X_FIRST_QUEUE_QUERY_IDX, |
1132 | }; | 1133 | }; |
1133 | 1134 | ||
1134 | struct bnx2x_fw_stats_req { | 1135 | struct bnx2x_fw_stats_req { |
1135 | struct stats_query_header hdr; | 1136 | struct stats_query_header hdr; |
1136 | struct stats_query_entry query[STATS_QUERY_CMD_COUNT]; | 1137 | struct stats_query_entry query[FP_SB_MAX_E1x+ |
1138 | BNX2X_FIRST_QUEUE_QUERY_IDX]; | ||
1137 | }; | 1139 | }; |
1138 | 1140 | ||
1139 | struct bnx2x_fw_stats_data { | 1141 | struct bnx2x_fw_stats_data { |
1140 | struct stats_counter storm_counters; | 1142 | struct stats_counter storm_counters; |
1141 | struct per_port_stats port; | 1143 | struct per_port_stats port; |
1142 | struct per_pf_stats pf; | 1144 | struct per_pf_stats pf; |
1145 | struct fcoe_statistics_params fcoe; | ||
1143 | struct per_queue_stats queue_stats[1]; | 1146 | struct per_queue_stats queue_stats[1]; |
1144 | }; | 1147 | }; |
1145 | 1148 | ||