Lines Matching refs:attr_mask

1694 				   int attr_mask)
1700 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC)
1705 if (attr_mask & IB_QP_ACCESS_FLAGS)
1724 int attr_mask)
1726 if (attr_mask & IB_QP_PKEY_INDEX)
1728 if (attr_mask & IB_QP_QKEY)
1730 if (attr_mask & IB_QP_SQ_PSN)
2076 const struct ib_qp_attr *attr, int attr_mask,
2121 if (attr_mask & IB_QP_ALT_PATH &&
2133 if (!(attr_mask & IB_QP_PATH_MIG_STATE))
2166 } else if (attr_mask & IB_QP_PATH_MTU) {
2203 if (attr_mask & IB_QP_DEST_QPN)
2206 if (attr_mask & IB_QP_PORT) {
2208 !(attr_mask & IB_QP_AV)) {
2251 if (attr_mask & IB_QP_PKEY_INDEX) {
2258 if (attr_mask & IB_QP_AV) {
2260 attr_mask & IB_QP_PORT ? attr->port_num : qp->port;
2275 if (mlx4_set_path(dev, attr, attr_mask, qp, &context->pri_path,
2295 if (attr_mask & IB_QP_TIMEOUT) {
2300 if (attr_mask & IB_QP_ALT_PATH) {
2309 if (mlx4_set_alt_path(dev, attr, attr_mask, qp,
2335 if (attr_mask & IB_QP_RNR_RETRY) {
2340 if (attr_mask & IB_QP_RETRY_CNT) {
2345 if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC) {
2352 if (attr_mask & IB_QP_SQ_PSN)
2355 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) {
2362 if (attr_mask & (IB_QP_ACCESS_FLAGS | IB_QP_MAX_DEST_RD_ATOMIC)) {
2363 context->params2 |= to_mlx4_access_flags(qp, attr, attr_mask);
2370 if (attr_mask & IB_QP_MIN_RNR_TIMER) {
2374 if (attr_mask & IB_QP_RQ_PSN)
2378 if (attr_mask & IB_QP_QKEY) {
2464 attr_mask & IB_QP_EN_SQD_ASYNC_NOTIFY && attr->en_sqd_async_notify)
2510 if (attr_mask & IB_QP_ACCESS_FLAGS)
2512 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC)
2514 if (attr_mask & IB_QP_PORT) {
2518 if (attr_mask & IB_QP_ALT_PATH)
2522 store_sqp_attrs(qp->sqp, attr, attr_mask);
2663 int attr_mask, struct ib_udata *udata)
2671 cur_state = attr_mask & IB_QP_CUR_STATE ? attr->cur_qp_state : qp->state;
2672 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state;
2675 attr_mask)) {
2678 " attr_mask 0x%x\n",
2680 ibqp->qp_type, attr_mask);
2696 if (attr_mask & ~MLX4_IB_MODIFY_QP_RSS_SUP_ATTR_MSK) {
2698 ibqp->qp_num, attr_mask, cur_state, new_state);
2705 if (mlx4_is_bonded(dev->dev) && (attr_mask & IB_QP_PORT)) {
2717 attr_mask &= ~IB_QP_PORT;
2721 if ((attr_mask & IB_QP_PORT) &&
2730 if ((attr_mask & IB_QP_PORT) && (ibqp->qp_type == IB_QPT_RAW_PACKET) &&
2735 if (attr_mask & IB_QP_PKEY_INDEX) {
2736 int p = attr_mask & IB_QP_PORT ? attr->port_num : qp->port;
2746 if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC &&
2755 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC &&
2776 err = __mlx4_ib_modify_qp(ibqp, MLX4_IB_QP_SRC, attr, attr_mask,
2782 if (mlx4_is_bonded(dev->dev) && (attr_mask & IB_QP_PORT))
2791 int attr_mask, struct ib_udata *udata)
2796 ret = _mlx4_ib_modify_qp(ibqp, attr, attr_mask, udata);
2803 err = ib_modify_qp(sqp->roce_v2_gsi, attr, attr_mask);
4175 int attr_mask;
4191 attr_mask = IB_QP_PORT;
4194 attr_mask, IB_QPS_RESET, IB_QPS_INIT,
4205 attr_mask = 0;
4206 err = __mlx4_ib_modify_qp(ibwq, MLX4_IB_RWQ_SRC, NULL, attr_mask,
4212 attr_mask, IB_QPS_INIT, IB_QPS_RESET,