pub struct RxConfig<'a> {
pub rx_enable: Option<bool>,
pub rss_enable: Option<bool>,
pub hash_key: Option<&'a [u8; 40]>,
pub default_rxobj: Option<u64>,
pub indirection_table: Option<&'a [u64]>,
}
Expand description
Receive configuration for a vport.
Fields§
§rx_enable: Option<bool>
Enable receiving packets.
rss_enable: Option<bool>
Enable RSS.
hash_key: Option<&'a [u8; 40]>
The RSS hash key to set.
default_rxobj: Option<u64>
The default rx obj for incoming packets that cannot be hashed (I think).
indirection_table: Option<&'a [u64]>
The RSS indirection table.
Auto Trait Implementations§
impl<'a> Freeze for RxConfig<'a>
impl<'a> RefUnwindSafe for RxConfig<'a>
impl<'a> Send for RxConfig<'a>
impl<'a> Sync for RxConfig<'a>
impl<'a> Unpin for RxConfig<'a>
impl<'a> UnwindSafe for RxConfig<'a>
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