Skip to main content

Module config

Module config 

Source
Expand description

RDMA configuration attributes.

Statics§

RDMA_ALLOW_TCP_FALLBACK
Allow TCP fallback when ibverbs hardware is unavailable.
RDMA_CQ_BUSY_POLL_WINDOW
Cooperative-yield window for the ibverbs CQ poll loop. While the policy is within this window it calls tokio::task::yield_now between polls; past it, polls fall into an exponential backoff sleep (1ms initial, x2, capped at 10ms). None (the default) disables the cutoff entirely: the loop only ever yields, never sleeps.
RDMA_DISABLE_IBVERBS
Disable ibverbs even when hardware is present.
RDMA_MAX_CHUNK_SIZE_MB
Maximum chunk size in MiB for TCP-based RDMA transfers.
RDMA_MR_LRU_CACHE_SIZE
Capacity of the per-processor LRU cache that memoizes IbvMemoryRegionViews by (virtual_addr, size). Hits skip the manager round-trip; misses ask the manager to register the region and insert the result. A value of 0 is clamped to 1 (the LRU is effectively disabled at that size, but the processor still functions).
RDMA_QP_INIT_TIMEOUT
Per-side budget for the QueuePairInitializer handshake. The timer arms once when we send EnsureQueuePair and is rearmed after we hit RTS while still waiting for the peer’s NotifyRts. If it fires the entry is tombstoned with a qp_initializer_failed so further RequestQueuePair calls for the same key surface the same error rather than hanging.
RDMA_TCP_FALLBACK_PARALLELISM
Number of parallel channels for TCP fallback transfers.