logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                                rte_eth_stats(3)

Detailed Description

       A structure used to retrieve statistics for an Ethernet port. Not all statistics fields in struct
       rte_eth_stats are supported by any type of network interface card (NIC). If any statistics field is not
       supported, its value is 0. All byte-related statistics do not include Ethernet FCS regardless of whether
       these bytes have been delivered to the application (see RTE_ETH_RX_OFFLOAD_KEEP_CRC).

       Definition at line 262 of file rte_ethdev.h.

Field Documentation

uint64_tipackets
       Total number of successfully received packets.

       Definition at line 263 of file rte_ethdev.h.

   uint64_topackets
       Total number of successfully transmitted packets.

       Definition at line 264 of file rte_ethdev.h.

   uint64_tibytes
       Total number of successfully received bytes.

       Definition at line 265 of file rte_ethdev.h.

   uint64_tobytes
       Total number of successfully transmitted bytes.

       Definition at line 266 of file rte_ethdev.h.

   uint64_timissed
       Total of Rx packets dropped by the HW, because there are no available buffer (i.e. Rx queues are full).

       Definition at line 271 of file rte_ethdev.h.

   uint64_tierrors
       Total number of erroneous received packets.

       Definition at line 272 of file rte_ethdev.h.

   uint64_toerrors
       Total number of failed transmitted packets.

       Definition at line 273 of file rte_ethdev.h.

   uint64_trx_nombuf
       Total number of Rx mbuf allocation failures.

       Definition at line 274 of file rte_ethdev.h.

   uint64_tq_ipackets[RTE_ETHDEV_QUEUE_STAT_CNTRS]
       Total number of queue Rx packets.

       Definition at line 277 of file rte_ethdev.h.

   uint64_tq_opackets[RTE_ETHDEV_QUEUE_STAT_CNTRS]
       Total number of queue Tx packets.

       Definition at line 279 of file rte_ethdev.h.

   uint64_tq_ibytes[RTE_ETHDEV_QUEUE_STAT_CNTRS]
       Total number of successfully received queue bytes.

       Definition at line 281 of file rte_ethdev.h.

   uint64_tq_obytes[RTE_ETHDEV_QUEUE_STAT_CNTRS]
       Total number of successfully transmitted queue bytes.

       Definition at line 283 of file rte_ethdev.h.

   uint64_tq_errors[RTE_ETHDEV_QUEUE_STAT_CNTRS]
       Total number of queue packets received that are dropped.

       Definition at line 285 of file rte_ethdev.h.

Name

       rte_eth_stats

Synopsis

       #include <rte_ethdev.h>

   DataFields
       uint64_t ipackets
       uint64_t opackets
       uint64_t ibytes
       uint64_t obytes
       uint64_t imissed
       uint64_t ierrors
       uint64_t oerrors
       uint64_t rx_nombuf
       uint64_t q_ipackets [RTE_ETHDEV_QUEUE_STAT_CNTRS]
       uint64_t q_opackets [RTE_ETHDEV_QUEUE_STAT_CNTRS]
       uint64_t q_ibytes [RTE_ETHDEV_QUEUE_STAT_CNTRS]
       uint64_t q_obytes [RTE_ETHDEV_QUEUE_STAT_CNTRS]
       uint64_t q_errors [RTE_ETHDEV_QUEUE_STAT_CNTRS]

See Also