Skip to main content

SignalMsi

Trait SignalMsi 

Source
pub trait SignalMsi: Send + Sync {
    // Required method
    fn signal_msi(&self, devid: Option<u32>, address: u64, data: u32);
}
Expand description

An object that can signal MSI interrupts.

Required Methods§

Source

fn signal_msi(&self, devid: Option<u32>, address: u64, data: u32)

Signals a message-signaled interrupt at the specified address with the specified data.

devid is an optional device identity. Its meaning is layer-dependent: at the device layer it is a BDF for multi-function devices (None for single-function); at the ITS wrapper layer it is the fully composed ITS device ID; backends that don’t need it ignore it.

Implementors§