Skip to main content

Module queue_pair

Module queue_pair 

Source
Expand description

ibverbs queue pair, doorbell, and completion polling.

An IbvQueuePair encapsulates the send and receive queues, completion queues, and other resources needed for RDMA communication. It provides methods for establishing connections and performing RDMA operations.

Modules§

legacy
The legacy single-type queue pair, retained while the backends migrate onto the IbvQueuePair trait.

Structs§

DoorBell
A doorbell trigger for batched RDMA operations.
PollCompletionError
A CQ-level poll failure from IbvQueuePair::poll_completion: ibv_poll_cq itself failed and the completion queue is no longer usable. The owning QP should be treated as poisoned.
RCQueuePair
An RDMA reliable-connected (RC) queue pair built on plain ibverbs (ibv_post_send), independent of any device-specific verbs.
WorkRequestError
A per-work-request completion failure: a work request completed with a non-success ibv_wc_status. Carries the wr_id, status, and vendor error code so callers can correlate the failure to the request and match on the status without string parsing. The QP may or may not be in error state.

Enums§

PollTarget
Specifies which completion queue to poll.

Traits§

IbvQueuePair
A NIC-backend queue pair: the unit of RDMA communication between two endpoints, and the operations a [QueuePairActor] performs on it. Each [IbvDomainImpl] names its concrete queue-pair type via IbvDomainImpl::QueuePair and builds it through Self::new.