Home
last modified time | relevance | path

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

/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_verbs.c94 IB_QP_STATE; in ipoib_init_qp()
125 if (ib_modify_qp(priv->qp, &qp_attr, IB_QP_STATE)) in ipoib_init_qp()
H A Dipoib_cm.c440 if (ib_modify_qp(p->qp, &ipoib_cm_err_attr, IB_QP_STATE)) in ipoib_cm_req_handler()
468 if (ib_modify_qp(p->qp, &ipoib_cm_err_attr, IB_QP_STATE)) in ipoib_cm_rx_handler()
806 ret = ib_modify_qp(p->qp, &ipoib_cm_err_attr, IB_QP_STATE); in ipoib_cm_dev_stop()
994 qp_attr_mask = IB_QP_STATE | IB_QP_ACCESS_FLAGS | IB_QP_PKEY_INDEX | IB_QP_PORT; in ipoib_cm_modify_tx_init()
1339 ret = ib_modify_qp(p->qp, &ipoib_cm_err_attr, IB_QP_STATE); in ipoib_cm_stale_task()
H A Dipoib_ib.c725 ret = ib_query_qp(qp, &qp_attr, IB_QP_STATE, &query_init_attr); in check_qp_movement_and_print()
791 if (ib_modify_qp(priv->qp, &qp_attr, IB_QP_STATE)) in ipoib_ib_dev_stop()
839 if (ib_modify_qp(priv->qp, &qp_attr, IB_QP_STATE)) in ipoib_ib_dev_stop()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_gsi.c276 mask = IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_QKEY | IB_QP_PORT; in modify_to_rts()
289 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in modify_to_rts()
298 ret = ib_modify_qp(qp, &attr, IB_QP_STATE | IB_QP_SQ_PSN); in modify_to_rts()
H A Dmlx5_ib_main.c2846 ret = mlx5_ib_modify_qp(qp, attr, IB_QP_STATE | IB_QP_PKEY_INDEX | in create_umr_res()
2857 ret = mlx5_ib_modify_qp(qp, attr, IB_QP_STATE, NULL); in create_umr_res()
2865 ret = mlx5_ib_modify_qp(qp, attr, IB_QP_STATE, NULL); in create_umr_res()
H A Dmlx5_ib_qp.c2479 case IB_QP_STATE: in ib_nr_to_mlx5_nr()
2979 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in mlx5_ib_modify_qp()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_iwcm.c256 return ib_modify_qp(qp, &qp_attr, IB_QP_STATE); in iwcm_modify_qp_err()
269 return ib_modify_qp(qp, &qp_attr, IB_QP_STATE); in iwcm_modify_qp_sqd()
994 *qp_attr_mask = IB_QP_STATE | IB_QP_ACCESS_FLAGS; in iwcm_init_qp_init_attr()
H A Dib_verbs.c1266 if (mask & ~(req_param | opt_param | IB_QP_STATE)) in ib_modify_qp_is_ok()
1709 if (!ib_query_qp(qp, &attr, IB_QP_STATE | IB_QP_PORT, &init_attr)) { in is_valid_mcast_lid()
2167 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in __ib_drain_sq()
2203 ret = ib_modify_qp(qp, &attr, IB_QP_STATE); in __ib_drain_rq()
H A Dib_mad.c2540 IB_QP_STATE | IB_QP_CUR_STATE); in ib_mad_send_error()
2975 ret = ib_modify_qp(qp, attr, IB_QP_STATE | in ib_mad_port_start()
2985 ret = ib_modify_qp(qp, attr, IB_QP_STATE); in ib_mad_port_start()
2995 ret = ib_modify_qp(qp, attr, IB_QP_STATE | IB_QP_SQ_PSN); in ib_mad_port_start()
H A Dib_cma.c812 ret = ib_modify_qp(qp, &qp_attr, IB_QP_STATE); in cma_init_ud_qp()
818 ret = ib_modify_qp(qp, &qp_attr, IB_QP_STATE | IB_QP_SQ_PSN); in cma_init_ud_qp()
961 ret = ib_modify_qp(id_priv->id.qp, &qp_attr, IB_QP_STATE); in cma_modify_qp_err()
985 *qp_attr_mask = IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_PORT; in cma_ib_init_qp_attr()
1020 *qp_attr_mask = IB_QP_STATE | IB_QP_ACCESS_FLAGS; in rdma_init_qp_attr()
H A Dib_uverbs_cmd.c1790 if (cmd->base.attr_mask & IB_QP_STATE && in modify_qp()
1848 (cmd->base.attr_mask & IB_QP_STATE && in modify_qp()
1854 if (cmd->base.attr_mask & IB_QP_STATE) in modify_qp()
H A Dib_cm.c3831 *qp_attr_mask = IB_QP_STATE | IB_QP_ACCESS_FLAGS | in cm_init_qp_init_attr()
3865 *qp_attr_mask = IB_QP_STATE | IB_QP_AV | IB_QP_PATH_MTU | in cm_init_qp_rtr_attr()
3915 *qp_attr_mask = IB_QP_STATE | IB_QP_SQ_PSN; in cm_init_qp_rts_attr()
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_mad.c1781 qp_attr_mask_INIT = IB_QP_STATE | IB_QP_PKEY_INDEX | in create_pv_sqp()
1787 qp_attr_mask_INIT = IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_QKEY; in create_pv_sqp()
1820 ret = ib_modify_qp(tun_qp->qp, &attr, IB_QP_STATE); in create_pv_sqp()
1828 ret = ib_modify_qp(tun_qp->qp, &attr, IB_QP_STATE | IB_QP_SQ_PSN); in create_pv_sqp()
H A Dmlx4_ib_qp.c2177 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in _mlx4_ib_modify_qp()
/freebsd/sys/dev/irdma/
H A Dirdma_verbs.c974 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp_roce()
1079 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp_roce()
1186 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp()
1310 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp()
1354 if (attr_mask & IB_QP_STATE && udata && udata->outlen && in irdma_modify_qp()
H A Dirdma_cm.c3380 irdma_modify_qp_roce(&iwqp->ibqp, &attr, IB_QP_STATE, NULL); in irdma_cm_disconn_true()
3615 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()
4253 irdma_modify_qp(&cm_node->iwqp->ibqp, &attr, IB_QP_STATE, NULL); in irdma_cm_teardown_connections()
4267 irdma_modify_qp_roce(&qp->ibqp, &attr, IB_QP_STATE, NULL); in irdma_cm_teardown_connections()
H A Dirdma_utils.c2191 irdma_modify_qp_roce(&qp->ibqp, &attr, IB_QP_STATE, NULL); in irdma_modify_qp_to_err()
2193 irdma_modify_qp(&qp->ibqp, &attr, IB_QP_STATE, NULL); in irdma_modify_qp_to_err()
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dqp.c1926 if ((attr_mask & IB_QP_STATE) && (attr->qp_state == IB_QPS_RTR)) in c4iw_ib_modify_qp()
1927 attr_mask &= ~IB_QP_STATE; in c4iw_ib_modify_qp()
1945 mask |= (attr_mask & IB_QP_STATE) ? C4IW_QP_ATTR_NEXT_STATE : 0; in c4iw_ib_modify_qp()
/freebsd/sys/dev/qlnx/qlnxr/
H A Dqlnxr_verbs.c3376 if (attr_mask & IB_QP_STATE) in qlnxr_modify_qp()
3397 if (attr_mask & IB_QP_STATE) { in qlnxr_modify_qp()
3615 if ((attr_mask & IB_QP_STATE) && (qp->qp_type != IB_QPT_GSI) && in qlnxr_modify_qp()
3622 if (attr_mask & IB_QP_STATE) { in qlnxr_modify_qp()
3712 if (QLNX_IS_IWARP(dev) && (attr_mask == IB_QP_STATE)) { in qlnxr_query_qp()
3888 attr_mask |= IB_QP_STATE; in qlnxr_destroy_qp()
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dib_verbs.c2425 if (qp_attr_mask & IB_QP_STATE) { in bnxt_re_modify_shadow_qp()
2589 if (qp_attr_mask & IB_QP_STATE) { in bnxt_re_modify_qp()
2815 if (qp_attr_mask & IB_QP_STATE) in bnxt_re_modify_qp()
3392 qp_attr_mask = IB_QP_STATE; in bnxt_ud_qp_hw_stall_workaround()
H A Dmain.c2562 int mask = IB_QP_STATE; in bnxt_re_stop_all_nonqp1_nonshadow_qps()
/freebsd/sys/ofed/include/rdma/
H A Dib_verbs.h1106 IB_QP_STATE = 1, enumerator
/freebsd/sys/dev/mthca/
H A Dmthca_qp.c865 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in mthca_modify_qp()