Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.c126 this_cpu_inc(nic->pnicvf->drv_stats->page_alloc); in nicvf_alloc_page()
196 this_cpu_inc(nic->pnicvf->drv_stats->rcv_buffer_alloc_failures); in nicvf_alloc_rcv_buffer()
1389 this_cpu_inc(nic->pnicvf->drv_stats->tx_tso); in nicvf_sq_add_hdr_subdesc()
1545 this_cpu_inc(nic->pnicvf->drv_stats->tx_tso); in nicvf_sq_append_tso()
1847 this_cpu_inc(nic->drv_stats->rx_bgx_truncated_pkts); in nicvf_check_cqe_rx_errs()
1850 this_cpu_inc(nic->drv_stats->rx_jabber_errs); in nicvf_check_cqe_rx_errs()
1853 this_cpu_inc(nic->drv_stats->rx_fcs_errs); in nicvf_check_cqe_rx_errs()
1856 this_cpu_inc(nic->drv_stats->rx_bgx_errs); in nicvf_check_cqe_rx_errs()
1859 this_cpu_inc(nic->drv_stats->rx_prel2_errs); in nicvf_check_cqe_rx_errs()
1862 this_cpu_inc(nic->drv_stats->rx_l2_hdr_malformed); in nicvf_check_cqe_rx_errs()
[all …]
H A 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()
1522 memset(per_cpu_ptr(nic->drv_stats, cpu), 0, in nicvf_open()
1661 struct nicvf_drv_stats *drv_stats; in nicvf_update_stats() local
1698 drv_stats = per_cpu_ptr(nic->drv_stats, cpu); in nicvf_update_stats()
1699 tmp_stats += drv_stats->tx_tso; in nicvf_update_stats()
1744 this_cpu_inc(nic->drv_stats->tx_timeout); in nicvf_tx_timeout()
2170 nic->drv_stats = netdev_alloc_pcpu_stats(struct nicvf_drv_stats); in nicvf_probe()
2171 if (!nic->drv_stats) { in nicvf_probe()
2261 if (nic->drv_stats) in nicvf_probe()
[all …]
H A Dnic.h365 struct nicvf_drv_stats __percpu *drv_stats; member
H A Dnicvf_ethtool.c339 tmp_stats += ((u64 *)per_cpu_ptr(nic->drv_stats, cpu)) in nicvf_get_ethtool_stats()
/linux/drivers/net/ethernet/brocade/bna/
H A Dbfa_defs.h138 struct bfa_ioc_drv_stats drv_stats; /*!< driver IOC stats */ member
H A Dbnad_ethtool.c834 bnad->stats.drv_stats.netif_queue_stopped = netif_queue_stopped(netdev); in bnad_get_ethtool_stats()
837 stats64 = (u64 *)&bnad->stats.drv_stats; in bnad_get_ethtool_stats()
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c422 struct be_drv_stats *drvs = &adapter->drv_stats; in populate_be_v0_stats()
461 adapter->drv_stats.eth_red_drops = pmem_sts->eth_red_drops; in populate_be_v0_stats()
471 struct be_drv_stats *drvs = &adapter->drv_stats; in populate_be_v1_stats()
507 adapter->drv_stats.eth_red_drops = pmem_sts->eth_red_drops; in populate_be_v1_stats()
517 struct be_drv_stats *drvs = &adapter->drv_stats; in populate_be_v2_stats()
553 adapter->drv_stats.eth_red_drops = pmem_sts->eth_red_drops; in populate_be_v2_stats()
566 struct be_drv_stats *drvs = &adapter->drv_stats; in populate_lancer_stats()
656 struct be_drv_stats *drvs = &adapter->drv_stats; in be_get_stats64()
1031 adapter->drv_stats.dma_map_errors++; in be_xmit_enqueue()
2615 adapter->drv_stats.dma_map_errors++; in be_post_rx_frags()
H A Dbe.h587 struct be_drv_stats drv_stats; member
H A Dbe_ethtool.c383 p = (u8 *)&adapter->drv_stats + et_stats[i].offset; in be_get_ethtool_stats()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c197 *(data++) = atomic_read(&((atomic_t *)&pfvf->hw.drv_stats) in otx2_get_ethtool_stats()
1386 *(data++) = atomic_read(&((atomic_t *)&vf->hw.drv_stats) in otx2vf_get_ethtool_stats()
H A Dotx2_txrx.c277 struct otx2_drv_stats *stats = &pfvf->hw.drv_stats; in otx2_check_rcv_errors()
/linux/drivers/net/
H A Dvirtio_net.c4566 const u8 *base, bool drv_stats, u8 reply_type) in virtnet_fill_stats_qstat() argument
4578 if (drv_stats) { in virtnet_fill_stats_qstat()
4673 const u8 *base, bool drv_stats, u8 reply_type) in virtnet_fill_stats() argument
4683 return virtnet_fill_stats_qstat(vi, qid, ctx, base, drv_stats, reply_type); in virtnet_fill_stats()
4699 if (drv_stats) { in virtnet_fill_stats()
4701 goto drv_stats; in virtnet_fill_stats()
4710 if (drv_stats) { in virtnet_fill_stats()
4712 goto drv_stats; in virtnet_fill_stats()
4791 drv_stats: in virtnet_fill_stats()
/linux/drivers/scsi/bfa/
H A Dbfa_defs.h387 struct bfa_ioc_drv_stats_s drv_stats; /* driver IOC stats */ member