Lines Matching refs:attr_mask
1727 int attr_mask)
1733 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC)
1738 if (attr_mask & IB_QP_ACCESS_FLAGS)
1757 int attr_mask)
1759 if (attr_mask & IB_QP_PKEY_INDEX)
1761 if (attr_mask & IB_QP_QKEY)
1763 if (attr_mask & IB_QP_SQ_PSN)
2109 const struct ib_qp_attr *attr, int attr_mask,
2154 if (attr_mask & IB_QP_ALT_PATH &&
2166 if (!(attr_mask & IB_QP_PATH_MIG_STATE))
2199 } else if (attr_mask & IB_QP_PATH_MTU) {
2236 if (attr_mask & IB_QP_DEST_QPN)
2239 if (attr_mask & IB_QP_PORT) {
2241 !(attr_mask & IB_QP_AV)) {
2284 if (attr_mask & IB_QP_PKEY_INDEX) {
2291 if (attr_mask & IB_QP_AV) {
2293 attr_mask & IB_QP_PORT ? attr->port_num : qp->port;
2308 if (mlx4_set_path(dev, attr, attr_mask, qp, &context->pri_path,
2328 if (attr_mask & IB_QP_TIMEOUT) {
2333 if (attr_mask & IB_QP_ALT_PATH) {
2342 if (mlx4_set_alt_path(dev, attr, attr_mask, qp,
2368 if (attr_mask & IB_QP_RNR_RETRY) {
2373 if (attr_mask & IB_QP_RETRY_CNT) {
2378 if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC) {
2385 if (attr_mask & IB_QP_SQ_PSN)
2388 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) {
2395 if (attr_mask & (IB_QP_ACCESS_FLAGS | IB_QP_MAX_DEST_RD_ATOMIC)) {
2396 context->params2 |= to_mlx4_access_flags(qp, attr, attr_mask);
2403 if (attr_mask & IB_QP_MIN_RNR_TIMER) {
2407 if (attr_mask & IB_QP_RQ_PSN)
2411 if (attr_mask & IB_QP_QKEY) {
2497 attr_mask & IB_QP_EN_SQD_ASYNC_NOTIFY && attr->en_sqd_async_notify)
2543 if (attr_mask & IB_QP_ACCESS_FLAGS)
2545 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC)
2547 if (attr_mask & IB_QP_PORT) {
2551 if (attr_mask & IB_QP_ALT_PATH)
2555 store_sqp_attrs(qp->sqp, attr, attr_mask);
2696 int attr_mask, struct ib_udata *udata)
2704 cur_state = attr_mask & IB_QP_CUR_STATE ? attr->cur_qp_state : qp->state;
2705 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state;
2708 attr_mask)) {
2711 " attr_mask 0x%x\n",
2713 ibqp->qp_type, attr_mask);
2729 if (attr_mask & ~MLX4_IB_MODIFY_QP_RSS_SUP_ATTR_MSK) {
2731 ibqp->qp_num, attr_mask, cur_state, new_state);
2738 if (mlx4_is_bonded(dev->dev) && (attr_mask & IB_QP_PORT)) {
2750 attr_mask &= ~IB_QP_PORT;
2754 if ((attr_mask & IB_QP_PORT) &&
2763 if ((attr_mask & IB_QP_PORT) && (ibqp->qp_type == IB_QPT_RAW_PACKET) &&
2768 if (attr_mask & IB_QP_PKEY_INDEX) {
2769 int p = attr_mask & IB_QP_PORT ? attr->port_num : qp->port;
2779 if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC &&
2788 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC &&
2809 err = __mlx4_ib_modify_qp(ibqp, MLX4_IB_QP_SRC, attr, attr_mask,
2815 if (mlx4_is_bonded(dev->dev) && (attr_mask & IB_QP_PORT))
2824 int attr_mask, struct ib_udata *udata)
2829 if (attr_mask & ~IB_QP_ATTR_STANDARD_BITS)
2832 ret = _mlx4_ib_modify_qp(ibqp, attr, attr_mask, udata);
2839 err = ib_modify_qp(sqp->roce_v2_gsi, attr, attr_mask);
4210 int attr_mask;
4226 attr_mask = IB_QP_PORT;
4229 attr_mask, IB_QPS_RESET, IB_QPS_INIT,
4240 attr_mask = 0;
4241 err = __mlx4_ib_modify_qp(ibwq, MLX4_IB_RWQ_SRC, NULL, attr_mask,
4247 attr_mask, IB_QPS_INIT, IB_QPS_RESET,