Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/cavium/thunder/
H A Dnic.h366 struct bgx_stats bgx_stats; member
595 struct bgx_stats_msg bgx_stats; member
H A 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()
H A Dnicvf_main.c195 nic->bgx_stats.rx_stats[bgx->idx] = bgx->stats; in nicvf_read_bgx_stats()
197 nic->bgx_stats.tx_stats[bgx->idx] = bgx->stats; in nicvf_read_bgx_stats()
242 nicvf_read_bgx_stats(nic, &mbx.bgx_stats); in nicvf_handle_mbx_intr()
1633 mbx.bgx_stats.msg = NIC_MBOX_MSG_BGX_STATS; in nicvf_update_lmac_stats()
1634 mbx.bgx_stats.vf_id = nic->vf_id; in nicvf_update_lmac_stats()
1636 mbx.bgx_stats.rx = 1; in nicvf_update_lmac_stats()
1638 mbx.bgx_stats.idx = stat; in nicvf_update_lmac_stats()
1647 mbx.bgx_stats.rx = 0; in nicvf_update_lmac_stats()
1649 mbx.bgx_stats.idx = stat; in nicvf_update_lmac_stats()
H A Dthunder_bgx.h242 struct bgx_stats { struct
H A Dnicvf_ethtool.c353 *(data++) = nic->bgx_stats.rx_stats[stat]; in nicvf_get_ethtool_stats()
355 *(data++) = nic->bgx_stats.tx_stats[stat]; in nicvf_get_ethtool_stats()