pub struct NicProbeResult {
pub mmio_base: u64,
pub pci_bus: u8,
pub pci_device: u8,
pub pci_function: u8,
pub transport_type: u8,
pub common_cfg: u64,
pub notify_cfg: u64,
pub isr_cfg: u64,
pub device_cfg: u64,
pub notify_off_multiplier: u32,
}Expand description
NIC probe result with transport information.
Fields§
§mmio_base: u64MMIO base address (for legacy, or device_cfg for PCI modern)
pci_bus: u8PCI bus number
pci_device: u8PCI device number
pci_function: u8PCI function number
transport_type: u8Transport type: 0=MMIO, 1=PCI Modern, 2=PCI Legacy
common_cfg: u64Common cfg address (PCI Modern only)
notify_cfg: u64Notify cfg address (PCI Modern only)
isr_cfg: u64ISR cfg address (PCI Modern only)
device_cfg: u64Device cfg address (PCI Modern only)
notify_off_multiplier: u32Notify offset multiplier (PCI Modern only)
Implementations§
Trait Implementations§
Source§impl Clone for NicProbeResult
impl Clone for NicProbeResult
Source§fn clone(&self) -> NicProbeResult
fn clone(&self) -> NicProbeResult
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 NicProbeResult
impl Debug for NicProbeResult
impl Copy for NicProbeResult
Auto Trait Implementations§
impl Freeze for NicProbeResult
impl RefUnwindSafe for NicProbeResult
impl Send for NicProbeResult
impl Sync for NicProbeResult
impl Unpin for NicProbeResult
impl UnwindSafe for NicProbeResult
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