DPDK
22.03.0
|
#include <rte_ethdev.h>
A structure used to retrieve the contextual information of an Ethernet device, such as the controlling driver of the device, etc...
Definition at line 1857 of file rte_ethdev.h.
struct rte_device* device |
Generic device information
Definition at line 1858 of file rte_ethdev.h.
const char* driver_name |
Device Driver name.
Definition at line 1859 of file rte_ethdev.h.
unsigned int if_index |
Index to bound host interface, or 0 if none. Use if_indextoname() to translate into an interface name.
Definition at line 1860 of file rte_ethdev.h.
uint16_t min_mtu |
uint16_t max_mtu |
Maximum MTU allowed
Definition at line 1863 of file rte_ethdev.h.
const uint32_t* dev_flags |
Device flags
Definition at line 1864 of file rte_ethdev.h.
uint32_t min_rx_bufsize |
Minimum size of Rx buffer.
Definition at line 1865 of file rte_ethdev.h.
uint32_t max_rx_pktlen |
Maximum configurable length of Rx pkt.
Definition at line 1866 of file rte_ethdev.h.
uint32_t max_lro_pkt_size |
Maximum configurable size of LRO aggregated packet.
Definition at line 1868 of file rte_ethdev.h.
uint16_t max_rx_queues |
Maximum number of Rx queues.
Definition at line 1869 of file rte_ethdev.h.
uint16_t max_tx_queues |
Maximum number of Tx queues.
Definition at line 1870 of file rte_ethdev.h.
uint32_t max_mac_addrs |
Maximum number of MAC addresses.
Definition at line 1871 of file rte_ethdev.h.
uint32_t max_hash_mac_addrs |
Maximum number of hash MAC addresses for MTA and UTA.
Definition at line 1873 of file rte_ethdev.h.
uint16_t max_vfs |
Maximum number of VFs.
Definition at line 1874 of file rte_ethdev.h.
uint16_t max_vmdq_pools |
Maximum number of VMDq pools.
Definition at line 1875 of file rte_ethdev.h.
struct rte_eth_rxseg_capa rx_seg_capa |
Segmentation capability.
Definition at line 1876 of file rte_ethdev.h.
uint64_t rx_offload_capa |
All Rx offload capabilities including all per-queue ones
Definition at line 1878 of file rte_ethdev.h.
uint64_t tx_offload_capa |
All Tx offload capabilities including all per-queue ones
Definition at line 1880 of file rte_ethdev.h.
uint64_t rx_queue_offload_capa |
Device per-queue Rx offload capabilities.
Definition at line 1882 of file rte_ethdev.h.
uint64_t tx_queue_offload_capa |
Device per-queue Tx offload capabilities.
Definition at line 1884 of file rte_ethdev.h.
uint16_t reta_size |
Device redirection table size, the total number of entries.
Definition at line 1886 of file rte_ethdev.h.
uint8_t hash_key_size |
Hash key size in bytes
Definition at line 1887 of file rte_ethdev.h.
uint64_t flow_type_rss_offloads |
Bit mask of RSS offloads, the bit offset also means flow type
Definition at line 1889 of file rte_ethdev.h.
struct rte_eth_rxconf default_rxconf |
Default Rx configuration
Definition at line 1890 of file rte_ethdev.h.
struct rte_eth_txconf default_txconf |
Default Tx configuration
Definition at line 1891 of file rte_ethdev.h.
uint16_t vmdq_queue_base |
First queue ID for VMDq pools.
Definition at line 1892 of file rte_ethdev.h.
uint16_t vmdq_queue_num |
Queue number for VMDq pools.
Definition at line 1893 of file rte_ethdev.h.
uint16_t vmdq_pool_base |
First ID of VMDq pools.
Definition at line 1894 of file rte_ethdev.h.
struct rte_eth_desc_lim rx_desc_lim |
Rx descriptors limits
Definition at line 1895 of file rte_ethdev.h.
struct rte_eth_desc_lim tx_desc_lim |
Tx descriptors limits
Definition at line 1896 of file rte_ethdev.h.
uint32_t speed_capa |
Supported speeds bitmap (RTE_ETH_LINK_SPEED_).
Definition at line 1897 of file rte_ethdev.h.
uint16_t nb_rx_queues |
Configured number of Rx/Tx queues Number of Rx queues.
Definition at line 1899 of file rte_ethdev.h.
uint16_t nb_tx_queues |
Number of Tx queues.
Definition at line 1900 of file rte_ethdev.h.
struct rte_eth_dev_portconf default_rxportconf |
Rx parameter recommendations
Definition at line 1902 of file rte_ethdev.h.
struct rte_eth_dev_portconf default_txportconf |
Tx parameter recommendations
Definition at line 1904 of file rte_ethdev.h.
uint64_t dev_capa |
Generic device capabilities (RTE_ETH_DEV_CAPA_).
Definition at line 1906 of file rte_ethdev.h.
struct rte_eth_switch_info switch_info |
Switching information for ports on a device with a embedded managed interconnect/switch.
Definition at line 1911 of file rte_ethdev.h.
uint64_t reserved_64s[2] |
Reserved for future fields
Definition at line 1913 of file rte_ethdev.h.
void* reserved_ptrs[2] |
Reserved for future fields
Definition at line 1914 of file rte_ethdev.h.