pub struct TxQueueConfig {
pub nb_desc: u16,
pub socket_id: i32,
pub tx_free_thresh: u16,
pub tx_rs_thresh: u16,
}Expand description
Configuration for a transmit queue
Fields§
§nb_desc: u16Number of transmit descriptors
socket_id: i32NUMA socket ID
tx_free_thresh: u16TX free threshold
tx_rs_thresh: u16TX RS bit threshold
Trait Implementations§
Source§impl Clone for TxQueueConfig
impl Clone for TxQueueConfig
Source§fn clone(&self) -> TxQueueConfig
fn clone(&self) -> TxQueueConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TxQueueConfig
impl Debug for TxQueueConfig
Auto Trait Implementations§
impl Freeze for TxQueueConfig
impl RefUnwindSafe for TxQueueConfig
impl Send for TxQueueConfig
impl Sync for TxQueueConfig
impl Unpin for TxQueueConfig
impl UnsafeUnpin for TxQueueConfig
impl UnwindSafe for TxQueueConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more