Home
last modified time | relevance | path

Searched refs:qp_context (Results 1 – 25 of 49) sorted by relevance

12

/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_qp.c262 qp->ibqp.event_handler(&event, qp->ibqp.qp_context); in mthca_qp_event()
563 struct mthca_qp_context *qp_context; in __mthca_modify_qp() local
573 qp_context = &qp_param->context; in __mthca_modify_qp()
576 qp_context->flags = cpu_to_be32((to_mthca_state(new_state) << 28) | in __mthca_modify_qp()
578 qp_context->flags |= cpu_to_be32(MTHCA_QP_BIT_DE); in __mthca_modify_qp()
580 qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_MIGRATED << 11); in __mthca_modify_qp()
585 qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_MIGRATED << 11); in __mthca_modify_qp()
588 qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_REARM << 11); in __mthca_modify_qp()
591 qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_ARMED << 11); in __mthca_modify_qp()
599 qp_context->mtu_msgmax = (IB_MTU_2048 << 5) | 11; in __mthca_modify_qp()
[all …]
/Linux-v4.19/drivers/infiniband/core/
Dsecurity.c171 if (sec->qp->event_handler && sec->qp->qp_context) { in qp_to_error()
174 sec->qp->qp_context); in qp_to_error()
182 if (qp->event_handler && qp->qp_context) { in qp_to_error()
186 qp->qp_context); in qp_to_error()
Dverbs.c1023 event->element.qp->event_handler(event, event->element.qp->qp_context); in __ib_shared_qp_event_handler()
1036 void *qp_context) in __ib_open_qp() argument
1057 qp->qp_context = qp_context; in __ib_open_qp()
1081 qp_open_attr->qp_context); in ib_open_qp()
1096 qp->qp_context = qp; in ib_create_xrc_qp()
1105 qp_init_attr->qp_context); in ib_create_xrc_qp()
1160 qp->qp_context = qp_init_attr->qp_context; in ib_create_qp()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dqp.c459 cmd->qp_context.pri_path.grh_mylmc = params->smac_index; in mlx4_update_qp()
474 cmd->qp_context.pri_path.fl |= in mlx4_update_qp()
482 cmd->qp_context.param3 |= cpu_to_be32(MLX4_STRIP_VLAN); in mlx4_update_qp()
487 cmd->qp_context.rate_limit_params = cpu_to_be16((params->rate_unit << 14) | params->rate_val); in mlx4_update_qp()
498 cmd->qp_context.qos_vport = params->qos_vport; in mlx4_update_qp()
Dresource_tracker.c4314 smac_index = cmd->qp_context.pri_path.grh_mylmc; in mlx4_UPDATE_QP_wrapper()
5264 ctx->qp_context.qos_vport = work->qos_vport; in update_qos_vpp()
5355 upd_context->qp_context.param3 = qp->param3; in mlx4_vf_immed_vlan_work_handler()
5356 upd_context->qp_context.pri_path.vlan_control = qp->vlan_control; in mlx4_vf_immed_vlan_work_handler()
5357 upd_context->qp_context.pri_path.fvl_rx = qp->fvl_rx; in mlx4_vf_immed_vlan_work_handler()
5358 upd_context->qp_context.pri_path.vlan_index = qp->vlan_index; in mlx4_vf_immed_vlan_work_handler()
5359 upd_context->qp_context.pri_path.fl = qp->pri_path_fl; in mlx4_vf_immed_vlan_work_handler()
5360 upd_context->qp_context.pri_path.feup = qp->feup; in mlx4_vf_immed_vlan_work_handler()
5361 upd_context->qp_context.pri_path.sched_queue = in mlx4_vf_immed_vlan_work_handler()
5364 upd_context->qp_context.param3 = qp->param3 & ~cpu_to_be32(MLX4_STRIP_VLAN); in mlx4_vf_immed_vlan_work_handler()
[all …]
/Linux-v4.19/net/smc/
Dsmc_wr.c71 link = wc->qp->qp_context; in smc_wr_tx_process_cqe()
333 struct smc_link *link = (struct smc_link *)wc->qp->qp_context; in smc_wr_rx_demultiplex()
356 link = wc[i].qp->qp_context; in smc_wr_rx_process_cqes()
Dsmc_cdc.c357 struct smc_link *link = (struct smc_link *)wc->qp->qp_context; in smc_cdc_rx_handler()
Dsmc_ib.c322 .qp_context = lnk, in smc_ib_create_queue_pair()
Dsmc_llc.c532 struct smc_link *link = (struct smc_link *)wc->qp->qp_context; in smc_llc_rx_handler()
/Linux-v4.19/drivers/infiniband/hw/usnic/
Dusnic_ib_qp_grp.c493 qp_grp->ibqp.qp_context); in usnic_ib_qp_grp_modify()
498 qp_grp->ibqp.qp_context); in usnic_ib_qp_grp_modify()
505 qp_grp->ibqp.qp_context); in usnic_ib_qp_grp_modify()
/Linux-v4.19/drivers/infiniband/ulp/isert/
Dib_isert.c133 attr.qp_context = isert_conn; in isert_create_qp()
603 struct isert_conn *isert_conn = cma_id->qp->qp_context; in isert_connected_handler()
717 struct isert_conn *isert_conn = cma_id->qp->qp_context; in isert_disconnected_handler()
744 struct isert_conn *isert_conn = cma_id->qp->qp_context; in isert_connect_error()
783 isert_conn = cma_id->qp->qp_context; in isert_cma_handler()
1406 struct isert_conn *isert_conn = wc->qp->qp_context; in isert_recv_done()
1465 struct isert_conn *isert_conn = wc->qp->qp_context; in isert_login_recv_done()
1663 struct isert_conn *isert_conn = wc->qp->qp_context; in isert_rdma_write_done()
1705 struct isert_conn *isert_conn = wc->qp->qp_context; in isert_rdma_read_done()
1781 struct isert_conn *isert_conn = wc->qp->qp_context; in isert_login_send_done()
[all …]
/Linux-v4.19/drivers/infiniband/ulp/iser/
Diser_initiator.c560 struct ib_conn *ib_conn = wc->qp->qp_context; in iser_login_rsp()
645 struct ib_conn *ib_conn = wc->qp->qp_context; in iser_task_rsp()
720 struct ib_conn *ib_conn = wc->qp->qp_context; in iser_dataout_comp()
Diser_verbs.c448 init_attr.qp_context = (void *)ib_conn; in iser_create_ib_conn_res()
1162 struct iser_conn *iser_conn = to_iser_conn(wc->qp->qp_context); in iser_err_comp()
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dgsi.c256 .qp_context = gsi->rx_qp->qp_context, in create_gsi_ud_qp()
/Linux-v4.19/drivers/infiniband/hw/cxgb3/
Diwch_ev.c97 (*qhp->ibqp.event_handler)(&event, qhp->ibqp.qp_context); in post_qp_event()
/Linux-v4.19/drivers/infiniband/hw/cxgb4/
Dev.c111 (*qhp->ibqp.event_handler)(&event, qhp->ibqp.qp_context); in post_qp_event()
/Linux-v4.19/drivers/infiniband/sw/rdmavt/
Dqp.c574 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in rvt_qp_mr_clean()
1405 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in rvt_modify_qp()
1411 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in rvt_modify_qp()
1517 init_attr->qp_context = qp->ibqp.qp_context; in rvt_query_qp()
2154 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in rvt_comm_est()
2174 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in rvt_rc_error()
/Linux-v4.19/include/linux/mlx4/
Dqp.h240 struct mlx4_qp_context qp_context; member
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_ruc.c56 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in qib_migrate_qp()
462 sqp->ibqp.event_handler(&ev, sqp->ibqp.qp_context); in qib_ruc_loopback()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dqp.c728 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in hfi1_migrate_qp()
839 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in hfi1_qp_iter_cb()
/Linux-v4.19/drivers/infiniband/ulp/ipoib/
Dipoib_cm.c262 .qp_context = p, in ipoib_cm_create_rx_qp()
589 p = wc->qp->qp_context; in ipoib_cm_handle_rx_wc()
796 struct ipoib_cm_tx *tx = wc->qp->qp_context; in ipoib_cm_handle_tx_wc()
1066 .qp_context = tx, in ipoib_cm_create_tx_qp()
/Linux-v4.19/drivers/infiniband/sw/rxe/
Drxe_qp.c378 init->qp_context = qp->ibqp.qp_context; in rxe_qp_to_init()
/Linux-v4.19/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c991 init_attr->qp_context = qp->ibqp.qp_context; in pvrdma_query_qp()
/Linux-v4.19/net/9p/
Dtrans_rdma.c716 qp_attr.qp_context = client; in rdma_create_trans()
/Linux-v4.19/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c527 qp_attr.qp_context = &newxprt->sc_xprt; in svc_rdma_accept()

12