pub enum UserFeatures {
Unaligned = 1,
VportPids = 2,
TcRecircSharing = 4,
DispatchUpcallPerCpu = 8,
}Available on crate feature
ovs_datapath only.Expand description
Flags - defines an integer enumeration, with values for each entry occupying a bit, starting from bit 0, (e.g. 1, 2, 4, 8)
Variants§
Unaligned = 1
Allow last Netlink attribute to be unaligned
VportPids = 2
Allow datapath to associate multiple Netlink PIDs to each vport
TcRecircSharing = 4
Allow tc offload recirc sharing
DispatchUpcallPerCpu = 8
Allow per-cpu dispatch of upcalls
Implementations§
Source§impl UserFeatures
impl UserFeatures
pub fn from_value(value: u64) -> Option<Self>
Trait Implementations§
Source§impl Clone for UserFeatures
impl Clone for UserFeatures
Source§fn clone(&self) -> UserFeatures
fn clone(&self) -> UserFeatures
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UserFeatures
Auto Trait Implementations§
impl Freeze for UserFeatures
impl RefUnwindSafe for UserFeatures
impl Send for UserFeatures
impl Sync for UserFeatures
impl Unpin for UserFeatures
impl UnsafeUnpin for UserFeatures
impl UnwindSafe for UserFeatures
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