ibverbs_sys

Function ibv_query_qp_data_in_order

Source
pub unsafe extern "C" fn ibv_query_qp_data_in_order(
    qp: *mut ibv_qp,
    op: Type,
    flags: u32,
) -> c_int
Expand description

ibv_query_qp_data_in_order - Checks whether the data is guaranteed to be written in-order. @qp: The QP to query. @op: Operation type. @flags: Flags are used to select a query type. For IBV_QUERY_QP_DATA_IN_ORDER_RETURN_CAPS, the function will return a capabilities vector. If 0, will query for IBV_QUERY_QP_DATA_IN_ORDER_WHOLE_MSG support and return 0/1 result.

Return Value ibv_query_qp_data_in_order() return value is determined by flags. For each capability bit, 1 is returned if the data is guaranteed to be written in-order for selected operation and type, 0 otherwise.