Home
last modified time | relevance | path

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

12

/linux-5.19.10/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-5.19.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()
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-5.19.10/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-5.19.10/drivers/infiniband/sw/rxe/
Drxe_qp.c402 enum ib_qp_state new_state = (mask & IB_QP_STATE) ? in rxe_qp_chk_attr()
410 if (mask & IB_QP_STATE) { in rxe_qp_chk_attr()
684 if (mask & IB_QP_STATE) { in rxe_qp_from_attr()
/linux-5.19.10/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()
2319 if (!ib_query_qp(qp, &attr, IB_QP_STATE | IB_QP_PORT, &init_attr)) { in is_valid_mcast_lid()
2757 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in __ib_drain_sq()
2790 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.c925 ret = ib_modify_qp(qp, &qp_attr, IB_QP_STATE); in cma_init_ud_qp()
931 ret = ib_modify_qp(qp, &qp_attr, IB_QP_STATE | IB_QP_SQ_PSN); in cma_init_ud_qp()
1076 ret = ib_modify_qp(id_priv->id.qp, &qp_attr, IB_QP_STATE); in cma_modify_qp_err()
1100 *qp_attr_mask = IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_PORT; in cma_ib_init_qp_attr()
1135 *qp_attr_mask = IB_QP_STATE | IB_QP_ACCESS_FLAGS; in rdma_init_qp_attr()
/linux-5.19.10/drivers/infiniband/hw/hfi1/
Dopfn.c264 if (attr_mask & IB_QP_STATE && in opfn_qp_init()
/linux-5.19.10/drivers/infiniband/hw/efa/
Defa_verbs.c298 (IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_PORT | \ in efa_query_qp()
865 if (mask & ~(req_param | opt_param | IB_QP_STATE)) in efa_modify_srd_qp_is_ok()
879 (IB_QP_STATE | IB_QP_CUR_STATE | IB_QP_EN_SQD_ASYNC_NOTIFY | \ in efa_modify_qp_validate()
937 new_state = qp_attr_mask & IB_QP_STATE ? qp_attr->qp_state : cur_state; in efa_modify_qp()
946 if (qp_attr_mask & IB_QP_STATE) { in efa_modify_qp()
/linux-5.19.10/drivers/infiniband/hw/hns/
Dhns_roce_qp.c53 attr_mask = IB_QP_STATE; in flush_work_handle()
1313 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in hns_roce_modify_qp()
1316 (attr_mask & IB_QP_STATE) && new_state == IB_QPS_ERR) { in hns_roce_modify_qp()
/linux-5.19.10/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-5.19.10/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c567 if (attr_mask & IB_QP_STATE) { in usnic_ib_modify_qp()
/linux-5.19.10/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-5.19.10/drivers/infiniband/hw/irdma/
Dverbs.c1300 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp_roce()
1406 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp_roce()
1497 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp()
1621 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp()
1665 if (attr_mask & IB_QP_STATE && udata && 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-5.19.10/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