Home
last modified time | relevance | path

Searched refs:bgx_stats (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/cavium/thunder/
Dnic.h366 struct bgx_stats bgx_stats; member
595 struct bgx_stats_msg bgx_stats; member
Dnic_main.c239 mbx.bgx_stats.msg = NIC_MBOX_MSG_BGX_STATS; in nic_get_bgx_stats()
240 mbx.bgx_stats.vf_id = bgx->vf_id; in nic_get_bgx_stats()
241 mbx.bgx_stats.rx = bgx->rx; in nic_get_bgx_stats()
242 mbx.bgx_stats.idx = bgx->idx; in nic_get_bgx_stats()
244 mbx.bgx_stats.stats = bgx_get_rx_stats(nic->node, bgx_idx, in nic_get_bgx_stats()
247 mbx.bgx_stats.stats = bgx_get_tx_stats(nic->node, bgx_idx, in nic_get_bgx_stats()
1076 nic_get_bgx_stats(nic, &mbx.bgx_stats); in nic_handle_mbx_intr()
Dnicvf_main.c196 nic->bgx_stats.rx_stats[bgx->idx] = bgx->stats; in nicvf_read_bgx_stats()
198 nic->bgx_stats.tx_stats[bgx->idx] = bgx->stats; in nicvf_read_bgx_stats()
244 nicvf_read_bgx_stats(nic, &mbx.bgx_stats); in nicvf_handle_mbx_intr()
1639 mbx.bgx_stats.msg = NIC_MBOX_MSG_BGX_STATS; in nicvf_update_lmac_stats()
1640 mbx.bgx_stats.vf_id = nic->vf_id; in nicvf_update_lmac_stats()
1642 mbx.bgx_stats.rx = 1; in nicvf_update_lmac_stats()
1644 mbx.bgx_stats.idx = stat; in nicvf_update_lmac_stats()
1653 mbx.bgx_stats.rx = 0; in nicvf_update_lmac_stats()
1655 mbx.bgx_stats.idx = stat; in nicvf_update_lmac_stats()
Dthunder_bgx.h235 struct bgx_stats { struct
Dnicvf_ethtool.c354 *(data++) = nic->bgx_stats.rx_stats[stat]; in nicvf_get_ethtool_stats()
356 *(data++) = nic->bgx_stats.tx_stats[stat]; in nicvf_get_ethtool_stats()