ibverbs_sys

Function ibv_query_qp

Source
pub unsafe extern "C" fn ibv_query_qp(
    qp: *mut ibv_qp,
    attr: *mut ibv_qp_attr,
    attr_mask: c_int,
    init_attr: *mut ibv_qp_init_attr,
) -> c_int
Expand description

ibv_query_qp - Returns the attribute list and current values for the specified QP. @qp: The QP to query. @attr: The attributes of the specified QP. @attr_mask: A bit-mask used to select specific attributes to query. @init_attr: Additional attributes of the selected QP.

The qp_attr_mask may be used to limit the query to gathering only the selected attributes.