Enum mlx_ethernet::command_queue::CommandOpcode
source · #[repr(u32)]pub enum CommandOpcode {
Show 30 variants
QueryHcaCap = 256,
InitHca = 258,
EnableHca = 260,
QueryPages = 263,
ManagePages = 264,
QueryIssi = 266,
SetIssi = 267,
SetDriverVersion = 269,
QuerySpecialContexts = 515,
CreateEq = 769,
CreateCq = 1_024,
QueryVportState = 1_872,
QueryNicVportContext = 1_876,
ModifyNicVportContext = 1_877,
AllocPd = 2_048,
AllocUar = 2_050,
AccessRegister = 2_053,
AllocTransportDomain = 2_070,
CreateTir = 2_304,
CreateSq = 2_308,
ModifySq = 2_309,
QuerySq = 2_311,
CreateRq = 2_312,
ModifyRq = 2_313,
QueryRq = 2_315,
CreateTis = 2_322,
SetFlowTableRoot = 2_351,
CreateFlowTable = 2_352,
CreateFlowGroup = 2_355,
SetFlowTableEntry = 2_358,
}
Expand description
Command opcode written by SW in opcode field of the input data in the command entry.
See CommandQueueEntry::command_input_opcode
.
Variants§
QueryHcaCap = 256
InitHca = 258
EnableHca = 260
QueryPages = 263
ManagePages = 264
QueryIssi = 266
SetIssi = 267
SetDriverVersion = 269
QuerySpecialContexts = 515
CreateEq = 769
CreateCq = 1_024
QueryVportState = 1_872
QueryNicVportContext = 1_876
ModifyNicVportContext = 1_877
AllocPd = 2_048
AllocUar = 2_050
AccessRegister = 2_053
AllocTransportDomain = 2_070
CreateTir = 2_304
CreateSq = 2_308
ModifySq = 2_309
QuerySq = 2_311
CreateRq = 2_312
ModifyRq = 2_313
QueryRq = 2_315
CreateTis = 2_322
SetFlowTableRoot = 2_351
CreateFlowTable = 2_352
CreateFlowGroup = 2_355
SetFlowTableEntry = 2_358
Trait Implementations§
source§impl Clone for CommandOpcode
impl Clone for CommandOpcode
source§fn clone(&self) -> CommandOpcode
fn clone(&self) -> CommandOpcode
Returns a copy 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 CommandOpcode
impl Debug for CommandOpcode
source§impl PartialEq<CommandOpcode> for CommandOpcode
impl PartialEq<CommandOpcode> for CommandOpcode
source§fn eq(&self, other: &CommandOpcode) -> bool
fn eq(&self, other: &CommandOpcode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for CommandOpcode
impl TryFrom<u32> for CommandOpcode
source§impl TryFromPrimitive for CommandOpcode
impl TryFromPrimitive for CommandOpcode
impl Copy for CommandOpcode
impl StructuralPartialEq for CommandOpcode
Auto Trait Implementations§
impl RefUnwindSafe for CommandOpcode
impl Send for CommandOpcode
impl Sync for CommandOpcode
impl Unpin for CommandOpcode
impl UnwindSafe for CommandOpcode
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