Home
last modified time | relevance | path

Searched refs:drv_stats (Results 1 – 15 of 15) sorted by relevance

/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c125 this_cpu_inc(nic->pnicvf->drv_stats->page_alloc); in nicvf_alloc_page()
195 this_cpu_inc(nic->pnicvf->drv_stats->rcv_buffer_alloc_failures); in nicvf_alloc_rcv_buffer()
1388 this_cpu_inc(nic->pnicvf->drv_stats->tx_tso); in nicvf_sq_add_hdr_subdesc()
1544 this_cpu_inc(nic->pnicvf->drv_stats->tx_tso); in nicvf_sq_append_tso()
1846 this_cpu_inc(nic->drv_stats->rx_bgx_truncated_pkts); in nicvf_check_cqe_rx_errs()
1849 this_cpu_inc(nic->drv_stats->rx_jabber_errs); in nicvf_check_cqe_rx_errs()
1852 this_cpu_inc(nic->drv_stats->rx_fcs_errs); in nicvf_check_cqe_rx_errs()
1855 this_cpu_inc(nic->drv_stats->rx_bgx_errs); in nicvf_check_cqe_rx_errs()
1858 this_cpu_inc(nic->drv_stats->rx_prel2_errs); in nicvf_check_cqe_rx_errs()
1861 this_cpu_inc(nic->drv_stats->rx_l2_hdr_malformed); in nicvf_check_cqe_rx_errs()
[all …]
Dnicvf_main.c948 this_cpu_inc(nic->drv_stats->txq_wake); in nicvf_cq_intr_handler()
1303 this_cpu_inc(nic->drv_stats->txq_stop); in nicvf_xmit()
1526 memset(per_cpu_ptr(nic->drv_stats, cpu), 0, in nicvf_open()
1665 struct nicvf_drv_stats *drv_stats; in nicvf_update_stats() local
1702 drv_stats = per_cpu_ptr(nic->drv_stats, cpu); in nicvf_update_stats()
1703 tmp_stats += drv_stats->tx_tso; in nicvf_update_stats()
1748 this_cpu_inc(nic->drv_stats->tx_timeout); in nicvf_tx_timeout()
2189 nic->drv_stats = netdev_alloc_pcpu_stats(struct nicvf_drv_stats); in nicvf_probe()
2190 if (!nic->drv_stats) { in nicvf_probe()
2276 if (nic->drv_stats) in nicvf_probe()
[all …]
Dnic.h365 struct nicvf_drv_stats __percpu *drv_stats; member
Dnicvf_ethtool.c338 tmp_stats += ((u64 *)per_cpu_ptr(nic->drv_stats, cpu)) in nicvf_get_ethtool_stats()
/drivers/net/ethernet/brocade/bna/
Dbnad.h188 struct bnad_drv_stats drv_stats; member
410 (((_bnad)->stats.drv_stats._ctr)++)
412 #define BNAD_GET_CTR(_bnad, _ctr) ((_bnad)->stats.drv_stats._ctr)
Dbfa_defs.h138 struct bfa_ioc_drv_stats drv_stats; /*!< driver IOC stats */ member
Dbnad_ethtool.c882 bnad->stats.drv_stats.netif_queue_stopped = netif_queue_stopped(netdev); in bnad_get_ethtool_stats()
885 stats64 = (u64 *)&bnad->stats.drv_stats; in bnad_get_ethtool_stats()
/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c176 *(data++) = atomic_read(&((atomic_t *)&pfvf->hw.drv_stats) in otx2_get_ethtool_stats()
781 *(data++) = atomic_read(&((atomic_t *)&vf->hw.drv_stats) in otx2vf_get_ethtool_stats()
Dotx2_common.h197 struct otx2_drv_stats drv_stats; member
Dotx2_txrx.c210 struct otx2_drv_stats *stats = &pfvf->hw.drv_stats; in otx2_check_rcv_errors()
/drivers/net/ethernet/emulex/benet/
Dbe_main.c423 struct be_drv_stats *drvs = &adapter->drv_stats; in populate_be_v0_stats()
462 adapter->drv_stats.eth_red_drops = pmem_sts->eth_red_drops; in populate_be_v0_stats()
472 struct be_drv_stats *drvs = &adapter->drv_stats; in populate_be_v1_stats()
508 adapter->drv_stats.eth_red_drops = pmem_sts->eth_red_drops; in populate_be_v1_stats()
518 struct be_drv_stats *drvs = &adapter->drv_stats; in populate_be_v2_stats()
554 adapter->drv_stats.eth_red_drops = pmem_sts->eth_red_drops; in populate_be_v2_stats()
567 struct be_drv_stats *drvs = &adapter->drv_stats; in populate_lancer_stats()
657 struct be_drv_stats *drvs = &adapter->drv_stats; in be_get_stats64()
1032 adapter->drv_stats.dma_map_errors++; in be_xmit_enqueue()
2614 adapter->drv_stats.dma_map_errors++; in be_post_rx_frags()
Dbe.h588 struct be_drv_stats drv_stats; member
Dbe_ethtool.c379 p = (u8 *)&adapter->drv_stats + et_stats[i].offset; in be_get_ethtool_stats()
/drivers/scsi/bfa/
Dbfa_defs.h387 struct bfa_ioc_drv_stats_s drv_stats; /* driver IOC stats */ member
Dbfa_ioc.h816 (((__stats)->drv_stats) = (__ioc)->stats)