Lines Matching refs:qp_attr_mask
300 int qp_attr_mask, in efa_query_qp() argument
313 if (qp_attr_mask & ~EFA_QUERY_QP_SUPP_MASK) { in efa_query_qp()
316 qp_attr_mask, EFA_QUERY_QP_SUPP_MASK); in efa_query_qp()
884 struct ib_qp_attr *qp_attr, int qp_attr_mask, in efa_modify_qp_validate() argument
895 if (qp_attr_mask & ~EFA_MODIFY_QP_SUPP_MASK) { in efa_modify_qp_validate()
898 qp_attr_mask, EFA_MODIFY_QP_SUPP_MASK); in efa_modify_qp_validate()
904 qp_attr_mask); in efa_modify_qp_validate()
907 qp_attr_mask); in efa_modify_qp_validate()
914 if ((qp_attr_mask & IB_QP_PORT) && qp_attr->port_num != 1) { in efa_modify_qp_validate()
919 if ((qp_attr_mask & IB_QP_PKEY_INDEX) && qp_attr->pkey_index) { in efa_modify_qp_validate()
928 int qp_attr_mask, struct ib_udata *udata) in efa_modify_qp() argument
937 if (qp_attr_mask & ~IB_QP_ATTR_STANDARD_BITS) in efa_modify_qp()
947 cur_state = qp_attr_mask & IB_QP_CUR_STATE ? qp_attr->cur_qp_state : in efa_modify_qp()
949 new_state = qp_attr_mask & IB_QP_STATE ? qp_attr->qp_state : cur_state; in efa_modify_qp()
951 err = efa_modify_qp_validate(dev, qp, qp_attr, qp_attr_mask, cur_state, in efa_modify_qp()
958 if (qp_attr_mask & IB_QP_STATE) { in efa_modify_qp()
967 if (qp_attr_mask & IB_QP_EN_SQD_ASYNC_NOTIFY) { in efa_modify_qp()
973 if (qp_attr_mask & IB_QP_QKEY) { in efa_modify_qp()
978 if (qp_attr_mask & IB_QP_SQ_PSN) { in efa_modify_qp()
983 if (qp_attr_mask & IB_QP_RNR_RETRY) { in efa_modify_qp()