[−][src]Struct dpdk_unix::android_linux::WarningsToSuppress
CPU and Kernel missing feature warnings to suppress.
Fields
suppress_warnings_for_cpu_features: HashSet<String>
Missing CPU features whose warnings should be supressed.
Current names (and typical warning messages) are:-
spectre_v2_google
: "Kernel hasspectre_v2=retpoline,google
; this is probably not the best choice".has_rep_movsb_stosb
: "Your CPU does not support the REP MOVSB and REP STOSB instructions, which are optimal for some memory moves and copies".has_prefetchw
: "Your CPU does not support the PRETFCHW instruction, which is optimal for some memory moves and copies".has_ss
: "Your CPU does not support self-snoop of the cache (which nearly all should), which is important for efficient cache mamangement in this application".has_working_xsave
: "CPU architecture either lacks XSAVE support or the Linux kernel has disabled XSAVE support".has_invpcid
: "Your CPU does not support the INVPCID instruction, which is important for efficient mitigation of the Meltdown and Spectre security vulnerabilities".has_smap
: "Your CPU does not support the Supervisor-Mode Access Prevention (SMAP) instructions CLAC and STAC, which are important for securing modern Linux systems".
suppress_warnings_for_kernel_features: HashSet<String>
Missing Kernel features whose warnings should be supressed.
Current names (and typical warning messages) are:-
hashdist
: Warnings abouthashdist=0
.noaliencache
: "Kernel hasnoaliencache
enabled; this is likely to hurt performance".numa_zonelist_order
: "Kernel hasnoaliencache
enabled; this is likely to hurt performance".skew_tick
: "Kernel should haveskew_tick=1
for maximum performance at the cost of power consumption".idle_poll
: "Warnings about idle!=poll".noxsaveopt
: "Kernel hasnoxsaveopt
enabled; this is likely to hurt performance".
suppress_warnings_for_miscellany: HashSet<String>
Miscellaneous warnings which should be supressed.
Current names (and typical warning messages) are:-
too_many_shared_hyper_threads
: "There are more than 2 shared hyper threads".too_few_shared_hyper_threads
: "There is only 1 shared hyper thread (which will be shared with the master logical core and control threads)".overlapping_shared_hyper_threads
: "More than one (actually, {}) hyper threads of the group '{:?}' are present in the shared hyper threads".too_many_numa_nodes_shared_hyper_threads
: "More than one (actually, {:?}) NUMA nodes are present in the shared hyper threads".
Trait Implementations
impl Clone for WarningsToSuppress
[src]
fn clone(&self) -> WarningsToSuppress
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for WarningsToSuppress
[src]
fn default() -> WarningsToSuppress
[src]
impl Debug for WarningsToSuppress
[src]
impl Serialize for WarningsToSuppress
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for WarningsToSuppress where
WarningsToSuppress: Default,
[src]
WarningsToSuppress: Default,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for WarningsToSuppress
impl Sync for WarningsToSuppress
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,