pub struct RdmaConfig {
pub rails: Vec<(String, u32)>,
pub max_blade_bytes: u64,
}Expand description
RDMA device selection for the verbs (MODE_VERBS) transport. Ignored for
TCP clients. One (device, gid_idx) per CX7 adapter: a dual-rail client
requests N rails and the peer registers each layer mmap on every rail so
the client can stripe expert fetches across both adapters. The default is
a SINGLE rail (roceP2p1s0f1, RoCEv2 GID index 3) — the pre-dual-rail
behavior, unchanged for verify_verbs.sh; add a second --rail to serve
dual-rail clients.
Fields§
§rails: Vec<(String, u32)>(device, gid_idx) per rail, in link order (rail 0 = the cabled link).
max_blade_bytes: u64Ceiling on total registered store RAM across concurrent verbs
connections, in bytes. 0 = unlimited (the default). Each verbs
connection registers the whole store (index.total_bytes()) once (the
N per-rail MRs share the same mmap pages), so this bounds the number of
concurrent store registrations.
Trait Implementations§
Source§impl Clone for RdmaConfig
impl Clone for RdmaConfig
Source§fn clone(&self) -> RdmaConfig
fn clone(&self) -> RdmaConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more