Lines Matching refs:attr_mask
1735 int attr_mask)
1741 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC)
1746 if (attr_mask & IB_QP_ACCESS_FLAGS)
1765 int attr_mask)
1767 if (attr_mask & IB_QP_PKEY_INDEX)
1769 if (attr_mask & IB_QP_QKEY)
1771 if (attr_mask & IB_QP_SQ_PSN)
2117 const struct ib_qp_attr *attr, int attr_mask,
2162 if (attr_mask & IB_QP_ALT_PATH &&
2174 if (!(attr_mask & IB_QP_PATH_MIG_STATE))
2207 } else if (attr_mask & IB_QP_PATH_MTU) {
2244 if (attr_mask & IB_QP_DEST_QPN)
2247 if (attr_mask & IB_QP_PORT) {
2249 !(attr_mask & IB_QP_AV)) {
2292 if (attr_mask & IB_QP_PKEY_INDEX) {
2299 if (attr_mask & IB_QP_AV) {
2301 attr_mask & IB_QP_PORT ? attr->port_num : qp->port;
2316 if (mlx4_set_path(dev, attr, attr_mask, qp, &context->pri_path,
2336 if (attr_mask & IB_QP_TIMEOUT) {
2341 if (attr_mask & IB_QP_ALT_PATH) {
2350 if (mlx4_set_alt_path(dev, attr, attr_mask, qp,
2376 if (attr_mask & IB_QP_RNR_RETRY) {
2381 if (attr_mask & IB_QP_RETRY_CNT) {
2386 if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC) {
2393 if (attr_mask & IB_QP_SQ_PSN)
2396 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) {
2403 if (attr_mask & (IB_QP_ACCESS_FLAGS | IB_QP_MAX_DEST_RD_ATOMIC)) {
2404 context->params2 |= to_mlx4_access_flags(qp, attr, attr_mask);
2411 if (attr_mask & IB_QP_MIN_RNR_TIMER) {
2415 if (attr_mask & IB_QP_RQ_PSN)
2419 if (attr_mask & IB_QP_QKEY) {
2505 attr_mask & IB_QP_EN_SQD_ASYNC_NOTIFY && attr->en_sqd_async_notify)
2551 if (attr_mask & IB_QP_ACCESS_FLAGS)
2553 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC)
2555 if (attr_mask & IB_QP_PORT) {
2559 if (attr_mask & IB_QP_ALT_PATH)
2563 store_sqp_attrs(qp->sqp, attr, attr_mask);
2704 int attr_mask, struct ib_udata *udata)
2712 cur_state = attr_mask & IB_QP_CUR_STATE ? attr->cur_qp_state : qp->state;
2713 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state;
2716 attr_mask)) {
2719 " attr_mask 0x%x\n",
2721 ibqp->qp_type, attr_mask);
2737 if (attr_mask & ~MLX4_IB_MODIFY_QP_RSS_SUP_ATTR_MSK) {
2739 ibqp->qp_num, attr_mask, cur_state, new_state);
2746 if (mlx4_is_bonded(dev->dev) && (attr_mask & IB_QP_PORT)) {
2758 attr_mask &= ~IB_QP_PORT;
2762 if ((attr_mask & IB_QP_PORT) &&
2771 if ((attr_mask & IB_QP_PORT) && (ibqp->qp_type == IB_QPT_RAW_PACKET) &&
2776 if (attr_mask & IB_QP_PKEY_INDEX) {
2777 int p = attr_mask & IB_QP_PORT ? attr->port_num : qp->port;
2787 if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC &&
2796 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC &&
2817 err = __mlx4_ib_modify_qp(ibqp, MLX4_IB_QP_SRC, attr, attr_mask,
2823 if (mlx4_is_bonded(dev->dev) && (attr_mask & IB_QP_PORT))
2832 int attr_mask, struct ib_udata *udata)
2837 if (attr_mask & ~IB_QP_ATTR_STANDARD_BITS)
2840 ret = _mlx4_ib_modify_qp(ibqp, attr, attr_mask, udata);
2847 err = ib_modify_qp(sqp->roce_v2_gsi, attr, attr_mask);
4218 int attr_mask;
4234 attr_mask = IB_QP_PORT;
4237 attr_mask, IB_QPS_RESET, IB_QPS_INIT,
4248 attr_mask = 0;
4249 err = __mlx4_ib_modify_qp(ibwq, MLX4_IB_RWQ_SRC, NULL, attr_mask,
4255 attr_mask, IB_QPS_INIT, IB_QPS_RESET,