Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/cavium/thunder/
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 …]
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 …]
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()
/linux-6.12.1/drivers/net/ethernet/brocade/bna/
Dbnad.h187 struct bnad_drv_stats drv_stats; member
409 (((_bnad)->stats.drv_stats._ctr)++)
411 #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.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-6.12.1/drivers/net/ethernet/emulex/benet/
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()
Dbe.h587 struct be_drv_stats drv_stats; member
Dbe_ethtool.c383 p = (u8 *)&adapter->drv_stats + et_stats[i].offset; in be_get_ethtool_stats()
/linux-6.12.1/drivers/net/
Dvirtio_net.c4393 const u8 *base, bool drv_stats, u8 reply_type) in virtnet_fill_stats_qstat() argument
4405 if (drv_stats) { in virtnet_fill_stats_qstat()
4500 const u8 *base, bool drv_stats, u8 reply_type) in virtnet_fill_stats() argument
4510 return virtnet_fill_stats_qstat(vi, qid, ctx, base, drv_stats, reply_type); in virtnet_fill_stats()
4526 if (drv_stats) { in virtnet_fill_stats()
4528 goto drv_stats; in virtnet_fill_stats()
4537 if (drv_stats) { in virtnet_fill_stats()
4539 goto drv_stats; in virtnet_fill_stats()
4618 drv_stats: in virtnet_fill_stats()
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c212 *(data++) = atomic_read(&((atomic_t *)&pfvf->hw.drv_stats) in otx2_get_ethtool_stats()
1396 *(data++) = atomic_read(&((atomic_t *)&vf->hw.drv_stats) in otx2vf_get_ethtool_stats()
Dotx2_common.h259 struct otx2_drv_stats drv_stats; member
Dotx2_txrx.c277 struct otx2_drv_stats *stats = &pfvf->hw.drv_stats; in otx2_check_rcv_errors()
/linux-6.12.1/drivers/scsi/bfa/
Dbfa_defs.h387 struct bfa_ioc_drv_stats_s drv_stats; /* driver IOC stats */ member
Dbfa_ioc.h858 (((__stats)->drv_stats) = (__ioc)->stats)