Searched refs:dev_stats (Results 1 – 7 of 7) sorted by relevance
| /f-stack/dpdk/drivers/event/sw/ |
| H A D | sw_evdev_xstats.c | 178 static const char * const dev_stats[] = { "rx", "tx", "drop", in sw_xstats_init() local 233 RTE_BUILD_BUG_ON(RTE_DIM(dev_stats) != RTE_DIM(dev_types)); in sw_xstats_init() 247 const unsigned int count = RTE_DIM(dev_stats) + in sw_xstats_init() 263 for (i = 0; i < RTE_DIM(dev_stats); i++, stat++) { in sw_xstats_init() 270 snprintf(sname, sizeof(sname), "dev_%s", dev_stats[i]); in sw_xstats_init()
|
| /f-stack/dpdk/drivers/event/dlb/ |
| H A D | dlb_xstats.c | 309 static const char * const dev_stats[] = { in dlb_xstats_init() local 498 RTE_BUILD_BUG_ON(RTE_DIM(dev_stats) != RTE_DIM(dev_types)); in dlb_xstats_init() 502 RTE_BUILD_BUG_ON(RTE_DIM(dev_stats) != RTE_DIM(dev_reset_allowed)); in dlb_xstats_init() 507 const unsigned int count = RTE_DIM(dev_stats) + in dlb_xstats_init() 519 for (i = 0; i < RTE_DIM(dev_stats); i++, stat_id++) { in dlb_xstats_init() 526 snprintf(sname, sizeof(sname), "dev_%s", dev_stats[i]); in dlb_xstats_init()
|
| /f-stack/dpdk/drivers/event/dlb2/ |
| H A D | dlb2_xstats.c | 350 static const char * const dev_stats[] = { in dlb2_xstats_init() local 554 RTE_BUILD_BUG_ON(RTE_DIM(dev_stats) != RTE_DIM(dev_types)); in dlb2_xstats_init() 558 RTE_BUILD_BUG_ON(RTE_DIM(dev_stats) != RTE_DIM(dev_reset_allowed)); in dlb2_xstats_init() 563 const unsigned int count = RTE_DIM(dev_stats) + in dlb2_xstats_init() 575 for (i = 0; i < RTE_DIM(dev_stats); i++, stat_id++) { in dlb2_xstats_init() 582 snprintf(sname, sizeof(sname), "dev_%s", dev_stats[i]); in dlb2_xstats_init()
|
| /f-stack/dpdk/drivers/net/ena/ |
| H A D | ena_ethdev.h | 259 struct ena_stats_dev dev_stats; member
|
| H A D | ena_ethdev.c | 1094 ++adapter->dev_stats.dev_start; in ena_start() 1122 ++adapter->dev_stats.dev_stop; in ena_stop() 1630 ++adapter->dev_stats.wd_expired; in check_for_missing_keep_alive() 2730 stats_begin = &adapter->dev_stats; in ena_xstats_get() 2792 values[i] = *((uint64_t *)&adapter->dev_stats + id); in ena_xstats_get_by_id() 2995 adapter->dev_stats.tx_drops = tx_drops; in ena_keep_alive()
|
| /f-stack/dpdk/lib/librte_eventdev/ |
| H A D | rte_event_crypto_adapter.c | 1043 struct rte_event_crypto_adapter_stats dev_stats; in rte_event_crypto_adapter_stats_get() local 1064 &dev_stats); in rte_event_crypto_adapter_stats_get() 1068 dev_stats_sum.crypto_deq_count += dev_stats.crypto_deq_count; in rte_event_crypto_adapter_stats_get() 1070 dev_stats.event_enq_count; in rte_event_crypto_adapter_stats_get()
|
| H A D | rte_event_eth_rx_adapter.c | 2286 struct rte_event_eth_rx_adapter_stats dev_stats; in rte_event_eth_rx_adapter_stats_get() local 2307 &dev_stats); in rte_event_eth_rx_adapter_stats_get() 2310 dev_stats_sum.rx_packets += dev_stats.rx_packets; in rte_event_eth_rx_adapter_stats_get() 2311 dev_stats_sum.rx_enq_count += dev_stats.rx_enq_count; in rte_event_eth_rx_adapter_stats_get()
|