Searched refs:fp_stats (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_stats.c | 1138 &bp->fp_stats[i].old_tclient; in bnx2x_net_stats_update() 1190 struct bnx2x_eth_q_stats *qstats = &bp->fp_stats[i].eth_q_stats; in bnx2x_drv_stats_update() 1192 &bp->fp_stats[i].eth_q_stats_old; in bnx2x_drv_stats_update() 1561 struct bnx2x_fp_stats *fp_stats = &bp->fp_stats[i]; in bnx2x_memset_stats() local 1563 memset(&fp_stats->old_tclient, 0, in bnx2x_memset_stats() 1564 sizeof(fp_stats->old_tclient)); in bnx2x_memset_stats() 1565 memset(&fp_stats->old_uclient, 0, in bnx2x_memset_stats() 1566 sizeof(fp_stats->old_uclient)); in bnx2x_memset_stats() 1567 memset(&fp_stats->old_xclient, 0, in bnx2x_memset_stats() 1568 sizeof(fp_stats->old_xclient)); in bnx2x_memset_stats() [all …]
|
D | bnx2x.h | 617 #define bnx2x_fp_stats(bp, fp) (&((bp)->fp_stats[(fp)->index])) 618 #define bnx2x_fp_qstats(bp, fp) (&((bp)->fp_stats[(fp)->index].eth_q_stats)) 1351 struct bnx2x_fp_stats *fp_stats; member
|
D | bnx2x_cmn.c | 93 struct bnx2x_fp_stats *from_fp_stats = &bp->fp_stats[from]; in bnx2x_move_fp() 94 struct bnx2x_fp_stats *to_fp_stats = &bp->fp_stats[to]; in bnx2x_move_fp() 4703 kfree(bp->fp_stats); in bnx2x_free_mem_bp() 4752 bp->fp_stats = kcalloc(bp->fp_array_size, sizeof(struct bnx2x_fp_stats), in bnx2x_alloc_mem_bp() 4754 if (!bp->fp_stats) in bnx2x_alloc_mem_bp()
|
D | bnx2x_ethtool.c | 3243 hw_stats = (u32 *)&bp->fp_stats[i].eth_q_stats; in bnx2x_get_ethtool_stats()
|