structrte_device*device
Generic device information
Definition at line 1774 of file rte_ethdev.h.
constchar*driver_name
Device Driver name.
Definition at line 1775 of file rte_ethdev.h.
unsignedintif_index
Index to bound host interface, or 0 if none. Use if_indextoname() to translate into an interface name.
Definition at line 1776 of file rte_ethdev.h.
uint16_tmin_mtu
Minimum MTU allowed
Definition at line 1778 of file rte_ethdev.h.
uint16_tmax_mtu
Maximum MTU allowed
Definition at line 1779 of file rte_ethdev.h.
constuint32_t*dev_flags
Device flags
Definition at line 1780 of file rte_ethdev.h.
uint32_tmin_rx_bufsize
Minimum Rx buffer size per descriptor supported by HW.
Definition at line 1782 of file rte_ethdev.h.
uint32_tmax_rx_bufsize
Maximum Rx buffer size per descriptor supported by HW. The value is not enforced, information only to
application to optimize mbuf size. Its value is UINT32_MAX when not specified by the driver.
Definition at line 1789 of file rte_ethdev.h.
uint32_tmax_rx_pktlen
Maximum configurable length of Rx pkt.
Definition at line 1790 of file rte_ethdev.h.
uint32_tmax_lro_pkt_size
Maximum configurable size of LRO aggregated packet.
Definition at line 1792 of file rte_ethdev.h.
uint16_tmax_rx_queues
Maximum number of Rx queues.
Definition at line 1793 of file rte_ethdev.h.
uint16_tmax_tx_queues
Maximum number of Tx queues.
Definition at line 1794 of file rte_ethdev.h.
uint32_tmax_mac_addrs
Maximum number of MAC addresses.
Definition at line 1795 of file rte_ethdev.h.
uint32_tmax_hash_mac_addrs
Maximum number of hash MAC addresses for MTA and UTA.
Definition at line 1797 of file rte_ethdev.h.
uint16_tmax_vfs
Maximum number of VFs.
Definition at line 1798 of file rte_ethdev.h.
uint16_tmax_vmdq_pools
Maximum number of VMDq pools.
Definition at line 1799 of file rte_ethdev.h.
structrte_eth_rxseg_caparx_seg_capa
Segmentation capability.
Definition at line 1800 of file rte_ethdev.h.
uint64_trx_offload_capa
All Rx offload capabilities including all per-queue ones
Definition at line 1802 of file rte_ethdev.h.
uint64_ttx_offload_capa
All Tx offload capabilities including all per-queue ones
Definition at line 1804 of file rte_ethdev.h.
uint64_trx_queue_offload_capa
Device per-queue Rx offload capabilities.
Definition at line 1806 of file rte_ethdev.h.
uint64_ttx_queue_offload_capa
Device per-queue Tx offload capabilities.
Definition at line 1808 of file rte_ethdev.h.
uint16_treta_size
Device redirection table size, the total number of entries.
Definition at line 1810 of file rte_ethdev.h.
uint8_thash_key_size
Hash key size in bytes
Definition at line 1811 of file rte_ethdev.h.
uint64_tflow_type_rss_offloads
RSS hash algorithms capabilities Bit mask of RSS offloads, the bit offset also means flow type
Definition at line 1814 of file rte_ethdev.h.
structrte_eth_rxconfdefault_rxconf
Default Rx configuration
Definition at line 1815 of file rte_ethdev.h.
structrte_eth_txconfdefault_txconf
Default Tx configuration
Definition at line 1816 of file rte_ethdev.h.
uint16_tvmdq_queue_base
First queue ID for VMDq pools.
Definition at line 1817 of file rte_ethdev.h.
uint16_tvmdq_queue_num
Queue number for VMDq pools.
Definition at line 1818 of file rte_ethdev.h.
uint16_tvmdq_pool_base
First ID of VMDq pools.
Definition at line 1819 of file rte_ethdev.h.
structrte_eth_desc_limrx_desc_lim
Rx descriptors limits
Definition at line 1820 of file rte_ethdev.h.
structrte_eth_desc_limtx_desc_lim
Tx descriptors limits
Definition at line 1821 of file rte_ethdev.h.
uint32_tspeed_capa
Supported speeds bitmap (RTE_ETH_LINK_SPEED_).
Definition at line 1822 of file rte_ethdev.h.
uint16_tnb_rx_queues
Configured number of Rx/Tx queues Number of Rx queues.
Definition at line 1824 of file rte_ethdev.h.
uint16_tnb_tx_queues
Number of Tx queues.
Definition at line 1825 of file rte_ethdev.h.
uint16_tmax_rx_mempools
Maximum number of Rx mempools supported per Rx queue.
Value greater than 0 means that the driver supports Rx queue mempools specification via
rx_conf->rx_mempools.
Definition at line 1832 of file rte_ethdev.h.
structrte_eth_dev_portconfdefault_rxportconf
Rx parameter recommendations
Definition at line 1834 of file rte_ethdev.h.
structrte_eth_dev_portconfdefault_txportconf
Tx parameter recommendations
Definition at line 1836 of file rte_ethdev.h.
uint64_tdev_capa
Generic device capabilities (RTE_ETH_DEV_CAPA_).
Definition at line 1838 of file rte_ethdev.h.
structrte_eth_switch_infoswitch_info
Switching information for ports on a device with a embedded managed interconnect/switch.
Definition at line 1843 of file rte_ethdev.h.
enumrte_eth_err_handle_modeerr_handle_mode
Supported error handling mode.
Definition at line 1845 of file rte_ethdev.h.
uint64_treserved_64s[2]
Reserved for future fields
Definition at line 1847 of file rte_ethdev.h.
void*reserved_ptrs[2]
Reserved for future fields
Definition at line 1848 of file rte_ethdev.h.