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.c945 this_cpu_inc(nic->drv_stats->txq_wake); in nicvf_cq_intr_handler()
1300 this_cpu_inc(nic->drv_stats->txq_stop); in nicvf_xmit()
1523 memset(per_cpu_ptr(nic->drv_stats, cpu), 0, in nicvf_open()
1662 struct nicvf_drv_stats *drv_stats; in nicvf_update_stats() local
1699 drv_stats = per_cpu_ptr(nic->drv_stats, cpu); in nicvf_update_stats()
1700 tmp_stats += drv_stats->tx_tso; in nicvf_update_stats()
1745 this_cpu_inc(nic->drv_stats->tx_timeout); in nicvf_tx_timeout()
2180 nic->drv_stats = netdev_alloc_pcpu_stats(struct nicvf_drv_stats); in nicvf_probe()
2181 if (!nic->drv_stats) { in nicvf_probe()
2267 if (nic->drv_stats) in nicvf_probe()
[all …]
Dnic.h365 struct nicvf_drv_stats __percpu *drv_stats; member
Dnicvf_ethtool.c339 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.c830 bnad->stats.drv_stats.netif_queue_stopped = netif_queue_stopped(netdev); in bnad_get_ethtool_stats()
833 stats64 = (u64 *)&bnad->stats.drv_stats; in bnad_get_ethtool_stats()
/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.c383 p = (u8 *)&adapter->drv_stats + et_stats[i].offset; in be_get_ethtool_stats()
/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c204 *(data++) = atomic_read(&((atomic_t *)&pfvf->hw.drv_stats) in otx2_get_ethtool_stats()
1285 *(data++) = atomic_read(&((atomic_t *)&vf->hw.drv_stats) in otx2vf_get_ethtool_stats()
Dotx2_common.h216 struct otx2_drv_stats drv_stats; member
Dotx2_txrx.c234 struct otx2_drv_stats *stats = &pfvf->hw.drv_stats; in otx2_check_rcv_errors()
/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)