diff options
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c index 0e8bdcb9c748..776b52163b11 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c | |||
@@ -1432,7 +1432,7 @@ static void bnx2x_prep_fw_stats_req(struct bnx2x *bp) | |||
1432 | query[first_queue_query_index + i]; | 1432 | query[first_queue_query_index + i]; |
1433 | 1433 | ||
1434 | cur_query_entry->kind = STATS_TYPE_QUEUE; | 1434 | cur_query_entry->kind = STATS_TYPE_QUEUE; |
1435 | cur_query_entry->index = bnx2x_stats_id(&bp->fp[FCOE_IDX]); | 1435 | cur_query_entry->index = bnx2x_stats_id(&bp->fp[FCOE_IDX(bp)]); |
1436 | cur_query_entry->funcID = cpu_to_le16(BP_FUNC(bp)); | 1436 | cur_query_entry->funcID = cpu_to_le16(BP_FUNC(bp)); |
1437 | cur_query_entry->address.hi = | 1437 | cur_query_entry->address.hi = |
1438 | cpu_to_le32(U64_HI(cur_data_offset)); | 1438 | cpu_to_le32(U64_HI(cur_data_offset)); |
@@ -1573,7 +1573,7 @@ void bnx2x_afex_collect_stats(struct bnx2x *bp, void *void_afex_stats, | |||
1573 | struct afex_stats *afex_stats = (struct afex_stats *)void_afex_stats; | 1573 | struct afex_stats *afex_stats = (struct afex_stats *)void_afex_stats; |
1574 | struct bnx2x_eth_stats *estats = &bp->eth_stats; | 1574 | struct bnx2x_eth_stats *estats = &bp->eth_stats; |
1575 | struct per_queue_stats *fcoe_q_stats = | 1575 | struct per_queue_stats *fcoe_q_stats = |
1576 | &bp->fw_stats_data->queue_stats[FCOE_IDX]; | 1576 | &bp->fw_stats_data->queue_stats[FCOE_IDX(bp)]; |
1577 | 1577 | ||
1578 | struct tstorm_per_queue_stats *fcoe_q_tstorm_stats = | 1578 | struct tstorm_per_queue_stats *fcoe_q_tstorm_stats = |
1579 | &fcoe_q_stats->tstorm_queue_statistics; | 1579 | &fcoe_q_stats->tstorm_queue_statistics; |