ibverbs_sys

Function ibv_create_cq

Source
pub unsafe extern "C" fn ibv_create_cq(
    context: *mut ibv_context,
    cqe: c_int,
    cq_context: *mut c_void,
    channel: *mut ibv_comp_channel,
    comp_vector: c_int,
) -> *mut ibv_cq
Expand description

ibv_create_cq - Create a completion queue @context - Context CQ will be attached to @cqe - Minimum number of entries required for CQ @cq_context - Consumer-supplied context returned for completion events @channel - Completion channel where completion events will be queued. May be NULL if completion events will not be used. @comp_vector - Completion vector used to signal completion events. Must be >= 0 and < context->num_comp_vectors.