[][src]Struct capsule_ffi::rte_eth_dev_info

#[repr(C)]pub struct rte_eth_dev_info {
    pub device: *mut rte_device,
    pub driver_name: *const c_char,
    pub if_index: c_uint,
    pub min_mtu: u16,
    pub max_mtu: u16,
    pub dev_flags: *const u32,
    pub min_rx_bufsize: u32,
    pub max_rx_pktlen: u32,
    pub max_lro_pkt_size: u32,
    pub max_rx_queues: u16,
    pub max_tx_queues: u16,
    pub max_mac_addrs: u32,
    pub max_hash_mac_addrs: u32,
    pub max_vfs: u16,
    pub max_vmdq_pools: u16,
    pub rx_offload_capa: u64,
    pub tx_offload_capa: u64,
    pub rx_queue_offload_capa: u64,
    pub tx_queue_offload_capa: u64,
    pub reta_size: u16,
    pub hash_key_size: u8,
    pub flow_type_rss_offloads: u64,
    pub default_rxconf: rte_eth_rxconf,
    pub default_txconf: rte_eth_txconf,
    pub vmdq_queue_base: u16,
    pub vmdq_queue_num: u16,
    pub vmdq_pool_base: u16,
    pub rx_desc_lim: rte_eth_desc_lim,
    pub tx_desc_lim: rte_eth_desc_lim,
    pub speed_capa: u32,
    pub nb_rx_queues: u16,
    pub nb_tx_queues: u16,
    pub default_rxportconf: rte_eth_dev_portconf,
    pub default_txportconf: rte_eth_dev_portconf,
    pub dev_capa: u64,
    pub switch_info: rte_eth_switch_info,
    pub reserved_64s: [u64; 2],
    pub reserved_ptrs: [*mut c_void; 2],
}

Fields

device: *mut rte_devicedriver_name: *const c_charif_index: c_uintmin_mtu: u16max_mtu: u16dev_flags: *const u32min_rx_bufsize: u32max_rx_pktlen: u32max_lro_pkt_size: u32max_rx_queues: u16max_tx_queues: u16max_mac_addrs: u32max_hash_mac_addrs: u32max_vfs: u16max_vmdq_pools: u16rx_offload_capa: u64tx_offload_capa: u64rx_queue_offload_capa: u64tx_queue_offload_capa: u64reta_size: u16hash_key_size: u8flow_type_rss_offloads: u64default_rxconf: rte_eth_rxconfdefault_txconf: rte_eth_txconfvmdq_queue_base: u16vmdq_queue_num: u16vmdq_pool_base: u16rx_desc_lim: rte_eth_desc_limtx_desc_lim: rte_eth_desc_limspeed_capa: u32nb_rx_queues: u16nb_tx_queues: u16default_rxportconf: rte_eth_dev_portconfdefault_txportconf: rte_eth_dev_portconfdev_capa: u64switch_info: rte_eth_switch_inforeserved_64s: [u64; 2]reserved_ptrs: [*mut c_void; 2]

Trait Implementations

impl Clone for rte_eth_dev_info[src]

impl Copy for rte_eth_dev_info[src]

impl Debug for rte_eth_dev_info[src]

impl Default for rte_eth_dev_info[src]

impl PartialEq<rte_eth_dev_info> for rte_eth_dev_info[src]

impl StructuralPartialEq for rte_eth_dev_info[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.