DPDK  16.04.0
Data Fields
rte_eth_dev_info Struct Reference

#include <rte_ethdev.h>

Data Fields

struct rte_pci_devicepci_dev
const char * driver_name
unsigned int if_index
uint32_t min_rx_bufsize
uint32_t max_rx_pktlen
uint16_t max_rx_queues
uint16_t max_tx_queues
uint32_t max_mac_addrs
uint16_t max_vfs
uint16_t max_vmdq_pools
uint32_t rx_offload_capa
uint32_t tx_offload_capa
uint16_t reta_size
uint8_t hash_key_size
uint64_t flow_type_rss_offloads
struct rte_eth_rxconf default_rxconf
struct rte_eth_txconf default_txconf
uint16_t vmdq_queue_base
uint16_t vmdq_queue_num
uint16_t vmdq_pool_base
struct rte_eth_desc_lim rx_desc_lim
struct rte_eth_desc_lim tx_desc_lim
uint32_t speed_capa

Detailed Description

Ethernet device information

Examples:
dpdk_qat/main.c, ethtool/ethtool-app/main.c, ethtool/lib/rte_ethtool.c, ip_fragmentation/main.c, ip_reassembly/main.c, ipv4_multicast/main.c, kni/main.c, l2fwd-ivshmem/host/host.c, l2fwd-jobstats/main.c, l2fwd-keepalive/main.c, l2fwd/main.c, l3fwd-acl/main.c, l3fwd-power/main.c, l3fwd-vf/main.c, l3fwd/main.c, link_status_interrupt/main.c, multi_process/l2fwd_fork/main.c, multi_process/symmetric_mp/main.c, performance-thread/l3fwd-thread/main.c, ptpclient/ptpclient.c, tep_termination/vxlan_setup.c, vhost/main.c, vhost_xen/main.c, vmdq/main.c, and vmdq_dcb/main.c.

Definition at line 882 of file rte_ethdev.h.

Field Documentation

struct rte_pci_device* pci_dev

Device PCI information.

Examples:
ethtool/lib/rte_ethtool.c.

Definition at line 883 of file rte_ethdev.h.

const char* driver_name

Device Driver name.

Examples:
ethtool/lib/rte_ethtool.c.

Definition at line 884 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 885 of file rte_ethdev.h.

uint32_t min_rx_bufsize

Minimum size of RX buffer.

Definition at line 887 of file rte_ethdev.h.

uint32_t max_rx_pktlen

Maximum configurable length of RX pkt.

Definition at line 888 of file rte_ethdev.h.

uint16_t max_rx_queues

Maximum number of RX queues.

Definition at line 889 of file rte_ethdev.h.

uint16_t max_tx_queues

Maximum number of TX queues.

Definition at line 890 of file rte_ethdev.h.

uint32_t max_mac_addrs

Maximum number of MAC addresses.

Definition at line 891 of file rte_ethdev.h.

uint16_t max_vfs

Maximum number of hash MAC addresses for MTA and UTA. Maximum number of VFs.

Definition at line 894 of file rte_ethdev.h.

uint16_t max_vmdq_pools

Maximum number of VMDq pools.

Definition at line 895 of file rte_ethdev.h.

uint32_t rx_offload_capa

Device RX offload capabilities.

Definition at line 896 of file rte_ethdev.h.

uint32_t tx_offload_capa

Device TX offload capabilities.

Definition at line 897 of file rte_ethdev.h.

uint16_t reta_size

Device redirection table size, the total number of entries.

Definition at line 899 of file rte_ethdev.h.

uint8_t hash_key_size

Hash key size in bytes

Definition at line 900 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 902 of file rte_ethdev.h.

struct rte_eth_rxconf default_rxconf

Default RX configuration

Definition at line 903 of file rte_ethdev.h.

struct rte_eth_txconf default_txconf

Default TX configuration

Definition at line 904 of file rte_ethdev.h.

uint16_t vmdq_queue_base

First queue ID for VMDQ pools.

Definition at line 905 of file rte_ethdev.h.

uint16_t vmdq_queue_num

Queue number for VMDQ pools.

Definition at line 906 of file rte_ethdev.h.

uint16_t vmdq_pool_base

First ID of VMDQ pools.

Definition at line 907 of file rte_ethdev.h.

struct rte_eth_desc_lim rx_desc_lim

RX descriptors limits

Definition at line 908 of file rte_ethdev.h.

struct rte_eth_desc_lim tx_desc_lim

TX descriptors limits

Definition at line 909 of file rte_ethdev.h.

uint32_t speed_capa

Supported speeds bitmap (ETH_LINK_SPEED_).

Definition at line 910 of file rte_ethdev.h.


The documentation for this struct was generated from the following file: