Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/infiniband/hw/mlx5/
Dmem.c255 IB_QP_STATE | IB_QP_PORT | IB_QP_PKEY_INDEX | in mlx5_ib_test_wc()
261 ret = ib_modify_qp(qp, &qp_attr, IB_QP_STATE); in mlx5_ib_test_wc()
266 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()
Dumr.c109 IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_PORT); in mlx5r_umr_qp_rst2rts()
118 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in mlx5r_umr_qp_rst2rts()
126 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in mlx5r_umr_qp_rst2rts()
209 err = ib_modify_qp(umrc->qp, &attr, IB_QP_STATE); in mlx5r_umr_recover()
Dqp.c3630 case IB_QP_STATE: in ib_nr_to_mlx5_nr()
4340 int req = IB_QP_STATE; in modify_dci_qp_is_ok()
4383 int required = IB_QP_STATE; in mlx5_ib_modify_dct()
4387 if (!(attr_mask & IB_QP_STATE)) in mlx5_ib_modify_dct()
4556 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in mlx5_ib_modify_qp()
4559 if (attr_mask & ~(IB_QP_STATE | IB_QP_CUR_STATE)) { in mlx5_ib_modify_qp()
4870 int supported_mask = IB_QP_STATE | in mlx5_ib_dct_query_qp()
4893 if (qp_attr_mask & IB_QP_STATE) in mlx5_ib_dct_query_qp()
5618 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in mlx5_ib_drain_sq()
5647 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in mlx5_ib_drain_rq()
/Linux-v6.1/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-v6.1/net/smc/
Dsmc_ib.c58 IB_QP_STATE | IB_QP_PKEY_INDEX | in smc_ib_modify_qp_init()
65 IB_QP_STATE | IB_QP_AV | IB_QP_PATH_MTU | IB_QP_DEST_QPN | in smc_ib_modify_qp_rtr()
109 IB_QP_STATE | IB_QP_TIMEOUT | IB_QP_RETRY_CNT | in smc_ib_modify_qp_rts()
120 return ib_modify_qp(lnk->roce_qp, &qp_attr, IB_QP_STATE); in smc_ib_modify_qp_error()
Dsmc_wr.c532 IB_QP_STATE | in smc_wr_remember_qp_attr()
/Linux-v6.1/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.c1702 if (mask & ~(req_param | opt_param | IB_QP_STATE)) in ib_modify_qp_is_ok()
1836 ((attr_mask & IB_QP_STATE) && attr->qp_state == IB_QPS_INIT)) in _ib_modify_qp()
2321 if (!ib_query_qp(qp, &attr, IB_QP_STATE | IB_QP_PORT, &init_attr)) { in is_valid_mcast_lid()
2759 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in __ib_drain_sq()
2792 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.c1047 ret = ib_modify_qp(qp, &qp_attr, IB_QP_STATE); in cma_init_ud_qp()
1053 ret = ib_modify_qp(qp, &qp_attr, IB_QP_STATE | IB_QP_SQ_PSN); in cma_init_ud_qp()
1198 ret = ib_modify_qp(id_priv->id.qp, &qp_attr, IB_QP_STATE); in cma_modify_qp_err()
1222 *qp_attr_mask = IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_PORT; in cma_ib_init_qp_attr()
1257 *qp_attr_mask = IB_QP_STATE | IB_QP_ACCESS_FLAGS; in rdma_init_qp_attr()
/Linux-v6.1/drivers/infiniband/sw/rxe/
Drxe_qp.c401 enum ib_qp_state new_state = (mask & IB_QP_STATE) ? in rxe_qp_chk_attr()
409 if (mask & IB_QP_STATE) { in rxe_qp_chk_attr()
684 if (mask & IB_QP_STATE) { in rxe_qp_from_attr()
/Linux-v6.1/drivers/infiniband/hw/hfi1/
Dopfn.c264 if (attr_mask & IB_QP_STATE && in opfn_qp_init()
/Linux-v6.1/drivers/infiniband/hw/efa/
Defa_verbs.c300 (IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_PORT | \ in efa_query_qp()
867 if (mask & ~(req_param | opt_param | IB_QP_STATE)) in efa_modify_srd_qp_is_ok()
881 (IB_QP_STATE | IB_QP_CUR_STATE | IB_QP_EN_SQD_ASYNC_NOTIFY | \ in efa_modify_qp_validate()
939 new_state = qp_attr_mask & IB_QP_STATE ? qp_attr->qp_state : cur_state; in efa_modify_qp()
948 if (qp_attr_mask & IB_QP_STATE) { in efa_modify_qp()
/Linux-v6.1/drivers/infiniband/hw/hns/
Dhns_roce_qp.c53 attr_mask = IB_QP_STATE; in flush_work_handle()
1310 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in hns_roce_modify_qp()
1313 (attr_mask & IB_QP_STATE) && new_state == IB_QPS_ERR) { in hns_roce_modify_qp()
/Linux-v6.1/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.c2652 MLX4_IB_MODIFY_QP_RSS_SUP_ATTR_MSK = (IB_QP_STATE |
2666 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()
/Linux-v6.1/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c567 if (attr_mask & IB_QP_STATE) { in usnic_ib_modify_qp()
/Linux-v6.1/drivers/infiniband/hw/irdma/
Dverbs.c1325 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp_roce()
1431 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp_roce()
1531 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp()
1655 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp()
1699 if (attr_mask & IB_QP_STATE && udata && udata->outlen && in irdma_modify_qp()
Dcm.c3458 irdma_modify_qp_roce(&iwqp->ibqp, &attr, IB_QP_STATE, NULL); in irdma_cm_disconn_true()
3692 irdma_modify_qp(&iwqp->ibqp, &attr, IB_QP_STATE, NULL); in irdma_accept()
4101 irdma_modify_qp(&iwqp->ibqp, &attr, IB_QP_STATE, NULL); in irdma_cm_event_connected()
4246 irdma_modify_qp(&cm_node->iwqp->ibqp, &attr, IB_QP_STATE, NULL); in irdma_cm_teardown_connections()
/Linux-v6.1/drivers/infiniband/hw/qedr/
Dverbs.c2475 if (attr_mask & IB_QP_STATE) in qedr_modify_qp()
2494 if (attr_mask & IB_QP_STATE) { in qedr_modify_qp()
2699 if ((attr_mask & IB_QP_STATE) && qp->qp_type != IB_QPT_GSI && in qedr_modify_qp()
2707 if (attr_mask & IB_QP_STATE) { in qedr_modify_qp()
2818 attr_mask |= IB_QP_STATE; in qedr_destroy_qp()
/Linux-v6.1/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1374 if (attr_mask & IB_QP_STATE) in _ocrdma_modify_qp()
1404 if (attr_mask & IB_QP_STATE) in ocrdma_modify_qp()
1688 attr_mask = IB_QP_STATE; in ocrdma_destroy_qp()

12