external_libs/ibverbs/ppc64le/include/infiniband/verbs.h
static inline int ibv_modify_wq(struct ibv_wq *wq, struct ibv_wq_attr *wq_attr)
{
	struct verbs_context *vctx = verbs_get_ctx_op(wq->context, modify_wq);

	if (!vctx)
		return ENOSYS;

	return vctx->modify_wq(wq, wq_attr);
}
/*
 * ibv_modify_wq - Modifies the attributes for the specified WQ.
 * @wq: The WQ to modify.
 * @wq_attr: On input, specifies the WQ attributes to modify.
 *    wq_attr->attr_mask: A bit-mask used to specify which attributes of the WQ
 *    are being modified.
 * On output, the current values of selected WQ attributes are returned.
 *
 * Return Value
 * ibv_modify_wq() returns 0 on success, or the value of errno
 * on failure (which indicates the failure reason).
 *
*/
Modifies the attributes for the specified WQ.
@wq: The WQ to modify.
@wq_attr: On input, specifies the WQ attributes to modify.
wq_attr->attr_mask: A bit-mask used to specify which attributes of the WQ
are being modified.
On output, the current values of selected WQ attributes are returned.

Return Value
ibv_modify_wq() returns 0 on success, or the value of errno
on failure (which indicates the failure reason).
Modifies the attributes for the specified WQ . @wq : The WQ to modify . @wq_attr : On input specifies the WQ attributes to modify . wq_attr - > attr_mask : A bit - mask used to specify which attributes of the WQ are being modified . On output the current values of selected WQ attributes are returned . Return Value ibv_modify_wq () returns 0 on success or the value of errno on failure ( which indicates the failure reason ) .
static inline int ibv_modify_wq(struct ibv_wq *wq, struct ibv_wq_attr *wq_attr)
{
	struct verbs_context *vctx = verbs_get_ctx_op(wq->context, modify_wq);
	if (!vctx)
		return ENOSYS;
	return vctx->modify_wq(wq, wq_attr);
}
static inline int ibv_modify_wq ( struct ibv_wq * wq , struct ibv_wq_attr * wq_attr ) { struct verbs_context * vctx = verbs_get_ctx_op ( wq -> context , modify_wq ) ; if ( ! vctx ) return ENOSYS ; return vctx -> modify_wq ( wq , wq_attr ) ; }
ibv_modify_wq - Modifies the attributes for the specified WQ.
ibv_modify_wq - Modifies the attributes for the specified WQ .