Searched refs:fp_stats (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_stats.c | 1139 &bp->fp_stats[i].old_tclient; in bnx2x_net_stats_update() 1191 struct bnx2x_eth_q_stats *qstats = &bp->fp_stats[i].eth_q_stats; in bnx2x_drv_stats_update() 1193 &bp->fp_stats[i].eth_q_stats_old; in bnx2x_drv_stats_update() 1562 struct bnx2x_fp_stats *fp_stats = &bp->fp_stats[i]; in bnx2x_memset_stats() local 1564 memset(&fp_stats->old_tclient, 0, in bnx2x_memset_stats() 1565 sizeof(fp_stats->old_tclient)); in bnx2x_memset_stats() 1566 memset(&fp_stats->old_uclient, 0, in bnx2x_memset_stats() 1567 sizeof(fp_stats->old_uclient)); in bnx2x_memset_stats() 1568 memset(&fp_stats->old_xclient, 0, in bnx2x_memset_stats() 1569 sizeof(fp_stats->old_xclient)); in bnx2x_memset_stats() [all …]
|
H A D | bnx2x.h | 623 #define bnx2x_fp_stats(bp, fp) (&((bp)->fp_stats[(fp)->index])) 624 #define bnx2x_fp_qstats(bp, fp) (&((bp)->fp_stats[(fp)->index].eth_q_stats)) 1351 struct bnx2x_fp_stats *fp_stats; member
|
H A D | bnx2x_cmn.c | 92 struct bnx2x_fp_stats *from_fp_stats = &bp->fp_stats[from]; in bnx2x_move_fp() 93 struct bnx2x_fp_stats *to_fp_stats = &bp->fp_stats[to]; in bnx2x_move_fp() 4721 kfree(bp->fp_stats); in bnx2x_free_mem_bp() 4770 bp->fp_stats = kcalloc(bp->fp_array_size, sizeof(struct bnx2x_fp_stats), in bnx2x_alloc_mem_bp() 4772 if (!bp->fp_stats) in bnx2x_alloc_mem_bp()
|
H A D | bnx2x_ethtool.c | 3237 hw_stats = (u32 *)&bp->fp_stats[i].eth_q_stats; in bnx2x_get_ethtool_stats()
|