Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/infiniband/hw/mlx5/
Dmem.c256 IB_QP_STATE | IB_QP_PORT | IB_QP_PKEY_INDEX | in mlx5_ib_test_wc()
262 ret = ib_modify_qp(qp, &qp_attr, IB_QP_STATE); in mlx5_ib_test_wc()
267 ret = ib_modify_qp(qp, &qp_attr, IB_QP_STATE | IB_QP_SQ_PSN); in mlx5_ib_test_wc()
Dgsi.c227 mask = IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_QKEY | IB_QP_PORT; in modify_to_rts()
240 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in modify_to_rts()
249 ret = ib_modify_qp(qp, &attr, IB_QP_STATE | IB_QP_SQ_PSN); in modify_to_rts()
Dqp.c3628 case IB_QP_STATE: in ib_nr_to_mlx5_nr()
4338 int req = IB_QP_STATE; in modify_dci_qp_is_ok()
4381 int required = IB_QP_STATE; in mlx5_ib_modify_dct()
4385 if (!(attr_mask & IB_QP_STATE)) in mlx5_ib_modify_dct()
4553 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in mlx5_ib_modify_qp()
4556 if (attr_mask & ~(IB_QP_STATE | IB_QP_CUR_STATE)) { in mlx5_ib_modify_qp()
4867 int supported_mask = IB_QP_STATE | in mlx5_ib_dct_query_qp()
4890 if (qp_attr_mask & IB_QP_STATE) in mlx5_ib_dct_query_qp()
5615 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in mlx5_ib_drain_sq()
5644 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in mlx5_ib_drain_rq()
/Linux-v5.15/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()
1130 qp_attr_mask = IB_QP_STATE | IB_QP_ACCESS_FLAGS | IB_QP_PKEY_INDEX | IB_QP_PORT; in ipoib_cm_modify_tx_init()
1494 ret = ib_modify_qp(p->qp, &ipoib_cm_err_attr, IB_QP_STATE); in ipoib_cm_stale_task()
/Linux-v5.15/net/smc/
Dsmc_ib.c55 IB_QP_STATE | IB_QP_PKEY_INDEX | in smc_ib_modify_qp_init()
62 IB_QP_STATE | IB_QP_AV | IB_QP_PATH_MTU | IB_QP_DEST_QPN | in smc_ib_modify_qp_rtr()
99 IB_QP_STATE | IB_QP_TIMEOUT | IB_QP_RETRY_CNT | in smc_ib_modify_qp_rts()
110 return ib_modify_qp(lnk->roce_qp, &qp_attr, IB_QP_STATE); in smc_ib_modify_qp_reset()
Dsmc_wr.c493 IB_QP_STATE | in smc_wr_remember_qp_attr()
/Linux-v5.15/drivers/infiniband/sw/rxe/
Drxe_qp.c419 enum ib_qp_state new_state = (mask & IB_QP_STATE) ? in rxe_qp_chk_attr()
427 if (mask & IB_QP_STATE) { in rxe_qp_chk_attr()
700 if (mask & IB_QP_STATE) { in rxe_qp_from_attr()
/Linux-v5.15/drivers/infiniband/core/
Diwcm.c278 return ib_modify_qp(qp, &qp_attr, IB_QP_STATE); in iwcm_modify_qp_err()
291 return ib_modify_qp(qp, &qp_attr, IB_QP_STATE); in iwcm_modify_qp_sqd()
1120 *qp_attr_mask = IB_QP_STATE | IB_QP_ACCESS_FLAGS; in iwcm_init_qp_init_attr()
Dverbs.c1707 if (mask & ~(req_param | opt_param | IB_QP_STATE)) in ib_modify_qp_is_ok()
1841 ((attr_mask & IB_QP_STATE) && attr->qp_state == IB_QPS_INIT)) in _ib_modify_qp()
2323 if (!ib_query_qp(qp, &attr, IB_QP_STATE | IB_QP_PORT, &init_attr)) { in is_valid_mcast_lid()
2761 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in __ib_drain_sq()
2794 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in __ib_drain_rq()
Dsecurity.c172 IB_QP_STATE); in qp_to_error()
Dmad.c2390 IB_QP_STATE | IB_QP_CUR_STATE); in ib_mad_send_error()
2811 ret = ib_modify_qp(qp, attr, IB_QP_STATE | in ib_mad_port_start()
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 | IB_QP_SQ_PSN); in ib_mad_port_start()
Dcma.c918 ret = ib_modify_qp(qp, &qp_attr, IB_QP_STATE); in cma_init_ud_qp()
924 ret = ib_modify_qp(qp, &qp_attr, IB_QP_STATE | IB_QP_SQ_PSN); in cma_init_ud_qp()
1069 ret = ib_modify_qp(id_priv->id.qp, &qp_attr, IB_QP_STATE); in cma_modify_qp_err()
1093 *qp_attr_mask = IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_PORT; in cma_ib_init_qp_attr()
1128 *qp_attr_mask = IB_QP_STATE | IB_QP_ACCESS_FLAGS; in rdma_init_qp_attr()
/Linux-v5.15/drivers/infiniband/hw/hfi1/
Dopfn.c264 if (attr_mask & IB_QP_STATE && in opfn_qp_init()
/Linux-v5.15/drivers/infiniband/hw/efa/
Defa_verbs.c292 (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()
931 new_state = qp_attr_mask & IB_QP_STATE ? qp_attr->qp_state : cur_state; in efa_modify_qp()
940 if (qp_attr_mask & IB_QP_STATE) { in efa_modify_qp()
/Linux-v5.15/drivers/infiniband/hw/hns/
Dhns_roce_qp.c54 attr_mask = IB_QP_STATE; in flush_work_handle()
1307 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in hns_roce_modify_qp()
1310 (attr_mask & IB_QP_STATE) && new_state == IB_QPS_ERR) { in hns_roce_modify_qp()
/Linux-v5.15/drivers/infiniband/hw/mlx4/
Dmad.c1826 qp_attr_mask_INIT = IB_QP_STATE | IB_QP_PKEY_INDEX | in create_pv_sqp()
1831 qp_attr_mask_INIT = IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_QKEY; in create_pv_sqp()
1864 ret = ib_modify_qp(tun_qp->qp, &attr, IB_QP_STATE); in create_pv_sqp()
1872 ret = ib_modify_qp(tun_qp->qp, &attr, IB_QP_STATE | IB_QP_SQ_PSN); in create_pv_sqp()
Dqp.c2650 MLX4_IB_MODIFY_QP_RSS_SUP_ATTR_MSK = (IB_QP_STATE |
2664 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in _mlx4_ib_modify_qp()
4422 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in mlx4_ib_drain_sq()
4451 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in mlx4_ib_drain_rq()
/Linux-v5.15/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c569 if (attr_mask & IB_QP_STATE) { in usnic_ib_modify_qp()
/Linux-v5.15/drivers/infiniband/hw/irdma/
Dcm.c3462 irdma_modify_qp_roce(&iwqp->ibqp, &attr, IB_QP_STATE, NULL); in irdma_cm_disconn_true()
3702 irdma_modify_qp(&iwqp->ibqp, &attr, IB_QP_STATE, NULL); in irdma_accept()
4103 irdma_modify_qp(&iwqp->ibqp, &attr, IB_QP_STATE, NULL); in irdma_cm_event_connected()
4252 irdma_modify_qp(&cm_node->iwqp->ibqp, &attr, IB_QP_STATE, NULL); in irdma_cm_teardown_connections()
4300 irdma_modify_qp_roce(&qp->ibqp, &attr, IB_QP_STATE, NULL); in irdma_cm_teardown_connections()
Dverbs.c1282 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp_roce()
1388 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp_roce()
1479 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp()
1603 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp()
1647 if (attr_mask & IB_QP_STATE && udata && in irdma_modify_qp()
/Linux-v5.15/drivers/infiniband/hw/qedr/
Dverbs.c2482 if (attr_mask & IB_QP_STATE) in qedr_modify_qp()
2501 if (attr_mask & IB_QP_STATE) { in qedr_modify_qp()
2704 if ((attr_mask & IB_QP_STATE) && qp->qp_type != IB_QPT_GSI && in qedr_modify_qp()
2712 if (attr_mask & IB_QP_STATE) { in qedr_modify_qp()
2820 attr_mask |= IB_QP_STATE; in qedr_destroy_qp()
/Linux-v5.15/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1372 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()
/Linux-v5.15/drivers/infiniband/hw/cxgb4/
Dqp.c2370 if ((attr_mask & IB_QP_STATE) && (attr->qp_state == IB_QPS_RTR)) in c4iw_ib_modify_qp()
2371 attr_mask &= ~IB_QP_STATE; in c4iw_ib_modify_qp()
2388 mask |= (attr_mask & IB_QP_STATE) ? C4IW_QP_ATTR_NEXT_STATE : 0; in c4iw_ib_modify_qp()

12