pub struct PcieGenericInitiatorConfig {
pub port_name: String,
pub node: u32,
}Expand description
Declares that the device directly behind a named PCIe port (a root port or a switch downstream port) is a generic initiator (GI) for the given NUMA node. Used to generate an SRAT Generic Initiator Affinity structure so the guest attaches the device’s memory to that (typically CPU-less) proximity domain.
The port is resolved against the live topology by port name after switch downstream ports have been enumerated, so it can target devices that sit behind a switch.
Fields§
§port_name: StringName of the PCIe port (root port or switch downstream port) behind which the generic-initiator device resides.
node: u32NUMA node the device is a generic initiator for.
Trait Implementations§
Source§impl Debug for PcieGenericInitiatorConfig
impl Debug for PcieGenericInitiatorConfig
Source§impl DefaultEncoding for PcieGenericInitiatorConfig
impl DefaultEncoding for PcieGenericInitiatorConfig
Source§impl<'encoding> StructDecodeMetadata<'encoding, Resource> for PcieGenericInitiatorConfig
impl<'encoding> StructDecodeMetadata<'encoding, Resource> for PcieGenericInitiatorConfig
Source§impl StructEncodeMetadata<Resource> for PcieGenericInitiatorConfig
impl StructEncodeMetadata<Resource> for PcieGenericInitiatorConfig
Auto Trait Implementations§
impl Freeze for PcieGenericInitiatorConfig
impl RefUnwindSafe for PcieGenericInitiatorConfig
impl Send for PcieGenericInitiatorConfig
impl Sync for PcieGenericInitiatorConfig
impl Unpin for PcieGenericInitiatorConfig
impl UnsafeUnpin for PcieGenericInitiatorConfig
impl UnwindSafe for PcieGenericInitiatorConfig
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> MeshField for T
impl<T> MeshField for T
§impl<T> MeshPayload for T
impl<T> MeshPayload for T
§impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
§fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
Computes the message size, as in [
MessageEncode::compute_message_size].§fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
Writes the message, as in [
MessageEncode::write_message].