/linux-6.6.21/drivers/infiniband/hw/mlx5/ |
D | mem.c | 255 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()
|
D | gsi.c | 227 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()
|
D | umr.c | 109 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()
|
D | qp.c | 3718 case IB_QP_STATE: in ib_nr_to_mlx5_nr() 4455 int req = IB_QP_STATE; in modify_dci_qp_is_ok() 4498 int required = IB_QP_STATE; in mlx5_ib_modify_dct() 4502 if (!(attr_mask & IB_QP_STATE)) in mlx5_ib_modify_dct() 4705 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in mlx5_ib_modify_qp() 4708 if (attr_mask & ~(IB_QP_STATE | IB_QP_CUR_STATE)) { in mlx5_ib_modify_qp() 5007 int supported_mask = IB_QP_STATE | in mlx5_ib_dct_query_qp() 5030 if (qp_attr_mask & IB_QP_STATE) in mlx5_ib_dct_query_qp() 5754 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in mlx5_ib_drain_sq() 5783 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in mlx5_ib_drain_rq()
|
/linux-6.6.21/drivers/infiniband/ulp/ipoib/ |
D | ipoib_verbs.c | 107 IB_QP_STATE; in ipoib_init_qp() 137 if (ib_modify_qp(priv->qp, &qp_attr, IB_QP_STATE)) in ipoib_init_qp()
|
D | ipoib_ib.c | 355 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()
|
D | ipoib_cm.c | 492 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-6.6.21/net/smc/ |
D | smc_ib.c | 58 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()
|
D | smc_wr.c | 531 IB_QP_STATE | in smc_wr_remember_qp_attr()
|
/linux-6.6.21/drivers/infiniband/sw/rxe/ |
D | rxe_qp.c | 592 new_state = (mask & IB_QP_STATE) ? in __qp_chk_state() 598 if (mask & IB_QP_STATE && cur_state == IB_QPS_SQD) { in __qp_chk_state() 625 if (mask & IB_QP_STATE) { in rxe_qp_from_attr()
|
/linux-6.6.21/drivers/infiniband/core/ |
D | iwcm.c | 278 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()
|
D | verbs.c | 1704 if (mask & ~(req_param | opt_param | IB_QP_STATE)) in ib_modify_qp_is_ok() 1838 ((attr_mask & IB_QP_STATE) && attr->qp_state == IB_QPS_INIT)) in _ib_modify_qp() 2390 if (!ib_query_qp(qp, &attr, IB_QP_STATE | IB_QP_PORT, &init_attr)) { in is_valid_mcast_lid() 2828 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in __ib_drain_sq() 2861 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in __ib_drain_rq()
|
D | security.c | 172 IB_QP_STATE); in qp_to_error()
|
D | mad.c | 2385 IB_QP_STATE | IB_QP_CUR_STATE); in ib_mad_send_error() 2806 ret = ib_modify_qp(qp, attr, IB_QP_STATE | in ib_mad_port_start() 2816 ret = ib_modify_qp(qp, attr, IB_QP_STATE); in ib_mad_port_start() 2826 ret = ib_modify_qp(qp, attr, IB_QP_STATE | IB_QP_SQ_PSN); in ib_mad_port_start()
|
D | cma.c | 1074 ret = ib_modify_qp(qp, &qp_attr, IB_QP_STATE); in cma_init_ud_qp() 1080 ret = ib_modify_qp(qp, &qp_attr, IB_QP_STATE | IB_QP_SQ_PSN); in cma_init_ud_qp() 1225 ret = ib_modify_qp(id_priv->id.qp, &qp_attr, IB_QP_STATE); in cma_modify_qp_err() 1249 *qp_attr_mask = IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_PORT; in cma_ib_init_qp_attr() 1284 *qp_attr_mask = IB_QP_STATE | IB_QP_ACCESS_FLAGS; in rdma_init_qp_attr()
|
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | opfn.c | 264 if (attr_mask & IB_QP_STATE && in opfn_qp_init()
|
/linux-6.6.21/drivers/infiniband/hw/efa/ |
D | efa_verbs.c | 310 (IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_PORT | \ in efa_query_qp() 877 if (mask & ~(req_param | opt_param | IB_QP_STATE)) in efa_modify_srd_qp_is_ok() 891 (IB_QP_STATE | IB_QP_CUR_STATE | IB_QP_EN_SQD_ASYNC_NOTIFY | \ in efa_modify_qp_validate() 949 new_state = qp_attr_mask & IB_QP_STATE ? qp_attr->qp_state : cur_state; in efa_modify_qp() 958 if (qp_attr_mask & IB_QP_STATE) { in efa_modify_qp()
|
/linux-6.6.21/drivers/infiniband/hw/hns/ |
D | hns_roce_qp.c | 53 attr_mask = IB_QP_STATE; in flush_work_handle() 1335 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in hns_roce_modify_qp() 1338 (attr_mask & IB_QP_STATE) && new_state == IB_QPS_ERR) { in hns_roce_modify_qp()
|
/linux-6.6.21/drivers/infiniband/hw/mlx4/ |
D | mad.c | 1826 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()
|
D | qp.c | 2691 MLX4_IB_MODIFY_QP_RSS_SUP_ATTR_MSK = (IB_QP_STATE | 2705 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in _mlx4_ib_modify_qp() 4463 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in mlx4_ib_drain_sq() 4492 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in mlx4_ib_drain_rq()
|
/linux-6.6.21/drivers/infiniband/hw/usnic/ |
D | usnic_ib_verbs.c | 567 if (attr_mask & IB_QP_STATE) { in usnic_ib_modify_qp()
|
/linux-6.6.21/drivers/infiniband/hw/qedr/ |
D | verbs.c | 2484 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()
|
/linux-6.6.21/drivers/infiniband/hw/irdma/ |
D | cm.c | 3512 irdma_modify_qp_roce(&iwqp->ibqp, &attr, IB_QP_STATE, NULL); in irdma_cm_disconn_true() 3745 irdma_modify_qp(&iwqp->ibqp, &attr, IB_QP_STATE, NULL); in irdma_accept() 4164 irdma_modify_qp(&iwqp->ibqp, &attr, IB_QP_STATE, NULL); in irdma_cm_event_connected() 4309 irdma_modify_qp(&cm_node->iwqp->ibqp, &attr, IB_QP_STATE, NULL); in irdma_cm_teardown_connections()
|
D | verbs.c | 1376 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp_roce() 1476 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp_roce() 1581 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp() 1705 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp() 1749 if (attr_mask & IB_QP_STATE && udata && udata->outlen && in irdma_modify_qp()
|
/linux-6.6.21/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 1374 if (attr_mask & IB_QP_STATE) in _ocrdma_modify_qp() 1404 if (attr_mask & IB_QP_STATE) in ocrdma_modify_qp() 1686 attr_mask = IB_QP_STATE; in ocrdma_destroy_qp()
|