Searched refs:fp_stats (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_stats.c | 1140 &bp->fp_stats[i].old_tclient; in bnx2x_net_stats_update() 1192 struct bnx2x_eth_q_stats *qstats = &bp->fp_stats[i].eth_q_stats; in bnx2x_drv_stats_update() 1194 &bp->fp_stats[i].eth_q_stats_old; in bnx2x_drv_stats_update() 1563 struct bnx2x_fp_stats *fp_stats = &bp->fp_stats[i]; in bnx2x_memset_stats() local 1565 memset(&fp_stats->old_tclient, 0, in bnx2x_memset_stats() 1566 sizeof(fp_stats->old_tclient)); in bnx2x_memset_stats() 1567 memset(&fp_stats->old_uclient, 0, in bnx2x_memset_stats() 1568 sizeof(fp_stats->old_uclient)); in bnx2x_memset_stats() 1569 memset(&fp_stats 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 | 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() 114 /* move fp_stats contents as well, as their indices match fp ones */ in bnx2x_move_fp() 4711 kfree(bp->fp_stats); in bnx2x_free_mem_bp() 4759 /* allocate fp_stats */ in bnx2x_alloc_mem_bp() 4760 bp->fp_stats = kcalloc(bp->fp_array_size, sizeof(struct bnx2x_fp_stats), in bnx2x_alloc_mem_bp() 4762 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_stats.c | 1141 &bp->fp_stats[i].old_tclient; in bnx2x_net_stats_update() 1193 struct bnx2x_eth_q_stats *qstats = &bp->fp_stats[i].eth_q_stats; in bnx2x_drv_stats_update() 1195 &bp->fp_stats[i].eth_q_stats_old; in bnx2x_drv_stats_update() 1564 struct bnx2x_fp_stats *fp_stats = &bp->fp_stats[i]; in bnx2x_memset_stats() local 1566 memset(&fp_stats->old_tclient, 0, in bnx2x_memset_stats() 1567 sizeof(fp_stats->old_tclient)); in bnx2x_memset_stats() 1568 memset(&fp_stats->old_uclient, 0, in bnx2x_memset_stats() 1569 sizeof(fp_stats->old_uclient)); in bnx2x_memset_stats() 1570 memset(&fp_stats 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() 113 /* move fp_stats contents as well, as their indices match fp ones */ in bnx2x_move_fp() 4722 kfree(bp->fp_stats); in bnx2x_free_mem_bp() 4770 /* allocate fp_stats */ in bnx2x_alloc_mem_bp() 4771 bp->fp_stats = kcalloc(bp->fp_array_size, sizeof(struct bnx2x_fp_stats), in bnx2x_alloc_mem_bp() 4773 if (!bp->fp_stats) in bnx2x_alloc_mem_bp()
|
H A D | bnx2x_ethtool.c | 3245 hw_stats = (u32 *)&bp->fp_stats[i].eth_q_stats; in bnx2x_get_ethtool_stats()
|
Completed in 38 milliseconds