pub enum InputXfrm {
SymXor = 1,
SymOrXor = 2,
}Available on crate feature
ethtool only.Expand description
RSS hash function transformations. Flags - defines an integer enumeration, with values for each entry occupying a bit, starting from bit 0, (e.g. 1, 2, 4, 8)
Variants§
SymXor = 1
XOR the corresponding source and destination fields of each specified protocol. Both copies of the XOR'ed fields are fed into the RSS and RXHASH calculation. Note that this XORing reduces the input set entropy and could be exploited to reduce the RSS queue spread.
SymOrXor = 2
Similar to SYM_XOR, except that one copy of the XOR'ed fields is replaced by an OR of the same fields.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InputXfrm
impl RefUnwindSafe for InputXfrm
impl Send for InputXfrm
impl Sync for InputXfrm
impl Unpin for InputXfrm
impl UnsafeUnpin for InputXfrm
impl UnwindSafe for InputXfrm
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