[−][src]Struct capsule_ffi::rte_eth_dev_data
Fields
name: [c_char; 64]
rx_queues: *mut *mut c_void
tx_queues: *mut *mut c_void
nb_rx_queues: u16
nb_tx_queues: u16
sriov: rte_eth_dev_sriov
dev_private: *mut c_void
dev_link: rte_eth_link
dev_conf: rte_eth_conf
mtu: u16
min_rx_buf_size: u32
rx_mbuf_alloc_failed: u64
mac_addrs: *mut rte_ether_addr
mac_pool_sel: [u64; 128]
hash_mac_addrs: *mut rte_ether_addr
port_id: u16
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
rx_queue_state: [u8; 1024]
tx_queue_state: [u8; 1024]
dev_flags: u32
kdrv: Type
numa_node: c_int
vlan_filter_conf: rte_vlan_filter_conf
owner: rte_eth_dev_owner
representor_id: u16
reserved_64s: [u64; 4]
reserved_ptrs: [*mut c_void; 4]
Implementations
impl rte_eth_dev_data
[src]
pub fn promiscuous(&self) -> u8
[src]
pub fn set_promiscuous(&mut self, val: u8)
[src]
pub fn scattered_rx(&self) -> u8
[src]
pub fn set_scattered_rx(&mut self, val: u8)
[src]
pub fn all_multicast(&self) -> u8
[src]
pub fn set_all_multicast(&mut self, val: u8)
[src]
pub fn dev_started(&self) -> u8
[src]
pub fn set_dev_started(&mut self, val: u8)
[src]
pub fn lro(&self) -> u8
[src]
pub fn set_lro(&mut self, val: u8)
[src]
pub fn new_bitfield_1(
promiscuous: u8,
scattered_rx: u8,
all_multicast: u8,
dev_started: u8,
lro: u8
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]
promiscuous: u8,
scattered_rx: u8,
all_multicast: u8,
dev_started: u8,
lro: u8
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
impl Clone for rte_eth_dev_data
[src]
fn clone(&self) -> rte_eth_dev_data
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for rte_eth_dev_data
[src]
impl Default for rte_eth_dev_data
[src]
Auto Trait Implementations
impl RefUnwindSafe for rte_eth_dev_data
impl !Send for rte_eth_dev_data
impl !Sync for rte_eth_dev_data
impl Unpin for rte_eth_dev_data
impl UnwindSafe for rte_eth_dev_data
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,