Home
last modified time | relevance | path

Searched refs:fp_stats (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_stats.c1141 &bp->fp_stats[i].old_tclient; in bnx2x_net_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->old_xclient, 0, in bnx2x_memset_stats()
1571 sizeof(fp_stats->old_xclient)); in bnx2x_memset_stats()
1573 memset(&fp_stats->eth_q_stats, 0, in bnx2x_memset_stats()
[all …]
H A Dbnx2x.h623 #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 Dbnx2x_cmn.c92 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 Dbnx2x_ethtool.c3243 hw_stats = (u32 *)&bp->fp_stats[i].eth_q_stats; in bnx2x_get_ethtool_stats()