pub enum Vtl2GpaPoolConfig {
Heuristics(Vtl2GpaPoolLookupTable),
Off,
Pages(u64),
}Variants§
Heuristics(Vtl2GpaPoolLookupTable)
Use heuristics to determine the VTL2 GPA pool size. Reserve a default size based on the amount of VTL2 ram and number of vCPUs. The point of this method is to account for cases where we retrofit the private pool into existing deployments that do not specify it explicitly.
If the host specifies a size via the device tree, that size will be used instead.
The lookup table specifies whether to use the debug or release heuristics (as the dev manifests provide different amounts of VTL2 RAM).
Off
Explicitly disable the VTL2 private pool.
Pages(u64)
Explicitly specify the size of the VTL2 GPA pool in pages.
Trait Implementations§
Source§impl Clone for Vtl2GpaPoolConfig
impl Clone for Vtl2GpaPoolConfig
Source§fn clone(&self) -> Vtl2GpaPoolConfig
fn clone(&self) -> Vtl2GpaPoolConfig
Returns a duplicate 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 Vtl2GpaPoolConfig
impl Debug for Vtl2GpaPoolConfig
Source§impl PartialEq for Vtl2GpaPoolConfig
impl PartialEq for Vtl2GpaPoolConfig
impl Copy for Vtl2GpaPoolConfig
impl StructuralPartialEq for Vtl2GpaPoolConfig
Auto Trait Implementations§
impl Freeze for Vtl2GpaPoolConfig
impl RefUnwindSafe for Vtl2GpaPoolConfig
impl Send for Vtl2GpaPoolConfig
impl Sync for Vtl2GpaPoolConfig
impl Unpin for Vtl2GpaPoolConfig
impl UnwindSafe for Vtl2GpaPoolConfig
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