Struct dpdk_unix::InterruptRequest [−][src]
pub struct InterruptRequest(_);
Represents a logical hyper thread, which in Operating System terms is usually a logical CPU (core).
These usually map 1:1 with LogicalCores
Methods
impl InterruptRequest[src]
impl InterruptRequestpub fn read_interrupt_request_to_hyper_threads_affinity(
&self,
proc_path: &ProcPath
) -> Result<BTreeSet<HyperThread>, ListParseError>[src]
pub fn read_interrupt_request_to_hyper_threads_affinity(
&self,
proc_path: &ProcPath
) -> Result<BTreeSet<HyperThread>, ListParseError>Reads interrupt request (IRQ) affinity to hyper threads.
pub fn read_interrupt_request_to_hyper_threads_affinity_hint(
&self,
proc_path: &ProcPath
) -> Result<BTreeSet<HyperThread>, ListParseError>[src]
pub fn read_interrupt_request_to_hyper_threads_affinity_hint(
&self,
proc_path: &ProcPath
) -> Result<BTreeSet<HyperThread>, ListParseError>This logic seems to exist in the Linux kernel to provide a place for the irqbalance daemon to store some configuration.
pub fn read_interrupt_request_node(
&self,
proc_path: &ProcPath
) -> Result<u8, Error>[src]
pub fn read_interrupt_request_node(
&self,
proc_path: &ProcPath
) -> Result<u8, Error>?numa node? As always, the Linux documentation sucks.
pub fn read_default_interrupt_request_affinity_hyper_thread_mask(
proc_path: &ProcPath
) -> Result<u32, Error>[src]
pub fn read_default_interrupt_request_affinity_hyper_thread_mask(
proc_path: &ProcPath
) -> Result<u32, Error>Default interrupt request affinity hyper thread mask.
pub fn force_all_interrupt_requests_to_just_these_hyper_threads(
hyper_threads: &BTreeSet<HyperThread>,
proc_path: &ProcPath
) -> Result<()>[src]
pub fn force_all_interrupt_requests_to_just_these_hyper_threads(
hyper_threads: &BTreeSet<HyperThread>,
proc_path: &ProcPath
) -> Result<()>We ignore failures as the /proc for interrupt requests is brittle.
pub fn interrupt_requests(proc_path: &ProcPath) -> Result<BTreeSet<Self>, Error>[src]
pub fn interrupt_requests(proc_path: &ProcPath) -> Result<BTreeSet<Self>, Error>Returns known interrupt requests (IRQs).
Trait Implementations
impl Default for InterruptRequest[src]
impl Default for InterruptRequestfn default() -> InterruptRequest[src]
fn default() -> InterruptRequestReturns the "default value" for a type. Read more
impl Debug for InterruptRequest[src]
impl Debug for InterruptRequestfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for InterruptRequest[src]
impl Copy for InterruptRequestimpl Clone for InterruptRequest[src]
impl Clone for InterruptRequestfn clone(&self) -> InterruptRequest[src]
fn clone(&self) -> InterruptRequestReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Ord for InterruptRequest[src]
impl Ord for InterruptRequestfn cmp(&self, other: &InterruptRequest) -> Ordering[src]
fn cmp(&self, other: &InterruptRequest) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl PartialOrd for InterruptRequest[src]
impl PartialOrd for InterruptRequestfn partial_cmp(&self, other: &InterruptRequest) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &InterruptRequest) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &InterruptRequest) -> bool[src]
fn lt(&self, other: &InterruptRequest) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &InterruptRequest) -> bool[src]
fn le(&self, other: &InterruptRequest) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &InterruptRequest) -> bool[src]
fn gt(&self, other: &InterruptRequest) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &InterruptRequest) -> bool[src]
fn ge(&self, other: &InterruptRequest) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Eq for InterruptRequest[src]
impl Eq for InterruptRequestimpl PartialEq for InterruptRequest[src]
impl PartialEq for InterruptRequestfn eq(&self, other: &InterruptRequest) -> bool[src]
fn eq(&self, other: &InterruptRequest) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &InterruptRequest) -> bool[src]
fn ne(&self, other: &InterruptRequest) -> boolThis method tests for !=.
impl Hash for InterruptRequest[src]
impl Hash for InterruptRequestfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl From<u16> for InterruptRequest[src]
impl From<u16> for InterruptRequestimpl Into<u16> for InterruptRequest[src]
impl Into<u16> for InterruptRequestAuto Trait Implementations
impl Send for InterruptRequest
impl Send for InterruptRequestimpl Sync for InterruptRequest
impl Sync for InterruptRequest