Home
last modified time | relevance | path

Searched refs:IB_QP_STATE (Results 1 – 25 of 39) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmem.c352 IB_QP_STATE | IB_QP_PORT | IB_QP_PKEY_INDEX | in mlx5_ib_test_wc()
358 ret = ib_modify_qp(qp, &qp_attr, IB_QP_STATE); in mlx5_ib_test_wc()
363 ret = ib_modify_qp(qp, &qp_attr, IB_QP_STATE | IB_QP_SQ_PSN); in mlx5_ib_test_wc()
Dgsi.c249 mask = IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_QKEY | IB_QP_PORT; in modify_to_rts()
262 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in modify_to_rts()
271 ret = ib_modify_qp(qp, &attr, IB_QP_STATE | IB_QP_SQ_PSN); in modify_to_rts()
Dqp.c3387 case IB_QP_STATE: in ib_nr_to_mlx5_nr()
4096 int req = IB_QP_STATE; in modify_dci_qp_is_ok()
4139 int required = IB_QP_STATE; in mlx5_ib_modify_dct()
4143 if (!(attr_mask & IB_QP_STATE)) in mlx5_ib_modify_dct()
4345 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in mlx5_ib_modify_qp()
4352 if (attr_mask & ~(IB_QP_STATE | IB_QP_CUR_STATE)) { in mlx5_ib_modify_qp()
4653 int supported_mask = IB_QP_STATE | in mlx5_ib_dct_query_qp()
4676 if (qp_attr_mask & IB_QP_STATE) in mlx5_ib_dct_query_qp()
5395 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in mlx5_ib_drain_sq()
5424 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in mlx5_ib_drain_rq()
/kernel/linux/linux-5.10/net/smc/
Dsmc_ib.c54 IB_QP_STATE | IB_QP_PKEY_INDEX | in smc_ib_modify_qp_init()
61 IB_QP_STATE | IB_QP_AV | IB_QP_PATH_MTU | IB_QP_DEST_QPN | in smc_ib_modify_qp_rtr()
98 IB_QP_STATE | IB_QP_TIMEOUT | IB_QP_RETRY_CNT | in smc_ib_modify_qp_rts()
109 return ib_modify_qp(lnk->roce_qp, &qp_attr, IB_QP_STATE); in smc_ib_modify_qp_error()
Dsmc_wr.c463 IB_QP_STATE | in smc_wr_remember_qp_attr()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
Dipoib_verbs.c107 IB_QP_STATE; in ipoib_init_qp()
137 if (ib_modify_qp(priv->qp, &qp_attr, IB_QP_STATE)) in ipoib_init_qp()
Dipoib_ib.c355 ret = ib_query_qp(priv->qp, &qp_attr, IB_QP_STATE, &query_init_attr); in ipoib_qp_state_validate_work()
368 ret = ib_modify_qp(priv->qp, &qp_attr, IB_QP_STATE); in ipoib_qp_state_validate_work()
743 ret = ib_query_qp(qp, &qp_attr, IB_QP_STATE, &query_init_attr); in check_qp_movement_and_print()
790 if (ib_modify_qp(priv->qp, &qp_attr, IB_QP_STATE)) in ipoib_ib_dev_stop_default()
840 if (ib_modify_qp(priv->qp, &qp_attr, IB_QP_STATE)) in ipoib_ib_dev_stop_default()
Dipoib_cm.c492 if (ib_modify_qp(p->qp, &ipoib_cm_err_attr, IB_QP_STATE)) in ipoib_cm_req_handler()
519 if (ib_modify_qp(p->qp, &ipoib_cm_err_attr, IB_QP_STATE)) in ipoib_cm_rx_handler()
946 ret = ib_modify_qp(p->qp, &ipoib_cm_err_attr, IB_QP_STATE); in ipoib_cm_dev_stop()
1134 qp_attr_mask = IB_QP_STATE | IB_QP_ACCESS_FLAGS | IB_QP_PKEY_INDEX | IB_QP_PORT; in ipoib_cm_modify_tx_init()
1498 ret = ib_modify_qp(p->qp, &ipoib_cm_err_attr, IB_QP_STATE); in ipoib_cm_stale_task()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Diwcm.c279 return ib_modify_qp(qp, &qp_attr, IB_QP_STATE); in iwcm_modify_qp_err()
292 return ib_modify_qp(qp, &qp_attr, IB_QP_STATE); in iwcm_modify_qp_sqd()
1121 *qp_attr_mask = IB_QP_STATE | IB_QP_ACCESS_FLAGS; in iwcm_init_qp_init_attr()
Dverbs.c1620 if (mask & ~(req_param | opt_param | IB_QP_STATE)) in ib_modify_qp_is_ok()
1754 ((attr_mask & IB_QP_STATE) && attr->qp_state == IB_QPS_INIT)) in _ib_modify_qp()
2254 if (!ib_query_qp(qp, &attr, IB_QP_STATE | IB_QP_PORT, &init_attr)) { in is_valid_mcast_lid()
2713 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in __ib_drain_sq()
2746 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in __ib_drain_rq()
Dsecurity.c172 IB_QP_STATE); in qp_to_error()
Dmad.c2395 IB_QP_STATE | IB_QP_CUR_STATE); in ib_mad_send_error()
2821 ret = ib_modify_qp(qp, attr, IB_QP_STATE | in ib_mad_port_start()
2831 ret = ib_modify_qp(qp, attr, IB_QP_STATE); in ib_mad_port_start()
2841 ret = ib_modify_qp(qp, attr, IB_QP_STATE | IB_QP_SQ_PSN); in ib_mad_port_start()
Dcma.c932 ret = ib_modify_qp(qp, &qp_attr, IB_QP_STATE); in cma_init_ud_qp()
938 ret = ib_modify_qp(qp, &qp_attr, IB_QP_STATE | IB_QP_SQ_PSN); in cma_init_ud_qp()
1083 ret = ib_modify_qp(id_priv->id.qp, &qp_attr, IB_QP_STATE); in cma_modify_qp_err()
1107 *qp_attr_mask = IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_PORT; in cma_ib_init_qp_attr()
1142 *qp_attr_mask = IB_QP_STATE | IB_QP_ACCESS_FLAGS; in rdma_init_qp_attr()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_qp.c400 enum ib_qp_state new_state = (mask & IB_QP_STATE) ? in rxe_qp_chk_attr()
408 if (mask & IB_QP_STATE) { in rxe_qp_chk_attr()
681 if (mask & IB_QP_STATE) { in rxe_qp_from_attr()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dopfn.c264 if (attr_mask & IB_QP_STATE && in opfn_qp_init()
/kernel/linux/linux-5.10/drivers/infiniband/hw/efa/
Defa_verbs.c282 (IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_PORT | \ in efa_query_qp()
859 if (mask & ~(req_param | opt_param | IB_QP_STATE)) in efa_modify_srd_qp_is_ok()
873 (IB_QP_STATE | IB_QP_CUR_STATE | IB_QP_EN_SQD_ASYNC_NOTIFY | \ in efa_modify_qp_validate()
928 new_state = qp_attr_mask & IB_QP_STATE ? qp_attr->qp_state : cur_state; in efa_modify_qp()
937 if (qp_attr_mask & IB_QP_STATE) { in efa_modify_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_qp.c55 attr_mask = IB_QP_STATE; in flush_work_handle()
1159 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in hns_roce_modify_qp()
1162 (attr_mask & IB_QP_STATE) && new_state == IB_QPS_ERR) { in hns_roce_modify_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmad.c1823 qp_attr_mask_INIT = IB_QP_STATE | IB_QP_PKEY_INDEX | in create_pv_sqp()
1828 qp_attr_mask_INIT = IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_QKEY; in create_pv_sqp()
1861 ret = ib_modify_qp(tun_qp->qp, &attr, IB_QP_STATE); in create_pv_sqp()
1869 ret = ib_modify_qp(tun_qp->qp, &attr, IB_QP_STATE | IB_QP_SQ_PSN); in create_pv_sqp()
Dqp.c2654 MLX4_IB_MODIFY_QP_RSS_SUP_ATTR_MSK = (IB_QP_STATE |
2668 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in _mlx4_ib_modify_qp()
4424 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in mlx4_ib_drain_sq()
4453 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in mlx4_ib_drain_rq()
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c571 if (attr_mask & IB_QP_STATE) { in usnic_ib_modify_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dverbs.c2484 if (attr_mask & IB_QP_STATE) in qedr_modify_qp()
2503 if (attr_mask & IB_QP_STATE) { in qedr_modify_qp()
2708 if ((attr_mask & IB_QP_STATE) && qp->qp_type != IB_QPT_GSI && in qedr_modify_qp()
2716 if (attr_mask & IB_QP_STATE) { in qedr_modify_qp()
2827 attr_mask |= IB_QP_STATE; in qedr_destroy_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1375 if (attr_mask & IB_QP_STATE) in _ocrdma_modify_qp()
1402 if (attr_mask & IB_QP_STATE) in ocrdma_modify_qp()
1686 attr_mask = IB_QP_STATE; in ocrdma_destroy_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Dqp.c2379 if ((attr_mask & IB_QP_STATE) && (attr->qp_state == IB_QPS_RTR)) in c4iw_ib_modify_qp()
2380 attr_mask &= ~IB_QP_STATE; in c4iw_ib_modify_qp()
2397 mask |= (attr_mask & IB_QP_STATE) ? C4IW_QP_ATTR_NEXT_STATE : 0; in c4iw_ib_modify_qp()
/kernel/linux/linux-5.10/net/rds/
Dib_cm.c175 err = ib_modify_qp(ic->i_cm_id->qp, &qp_attr, IB_QP_STATE); in rds_ib_cm_connect_complete()
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c551 next_state = (attr_mask & IB_QP_STATE) ? attr->qp_state : cur_state; in pvrdma_modify_qp()

12