Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_qp.c263 qp->ibqp.event_handler(&event, qp->ibqp.qp_context); in mthca_qp_event()
568 struct mthca_qp_context *qp_context; in __mthca_modify_qp() local
578 qp_context = &qp_param->context; in __mthca_modify_qp()
581 qp_context->flags = cpu_to_be32((to_mthca_state(new_state) << 28) | in __mthca_modify_qp()
583 qp_context->flags |= cpu_to_be32(MTHCA_QP_BIT_DE); in __mthca_modify_qp()
585 qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_MIGRATED << 11); in __mthca_modify_qp()
590 qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_MIGRATED << 11); in __mthca_modify_qp()
593 qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_REARM << 11); in __mthca_modify_qp()
596 qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_ARMED << 11); in __mthca_modify_qp()
604 qp_context->mtu_msgmax = (IB_MTU_2048 << 5) | 11; in __mthca_modify_qp()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dsecurity.c174 if (sec->qp->event_handler && sec->qp->qp_context) { in qp_to_error()
177 sec->qp->qp_context); in qp_to_error()
185 if (qp->event_handler && qp->qp_context) { in qp_to_error()
189 qp->qp_context); in qp_to_error()
Dverbs.c1102 event->element.qp->event_handler(event, event->element.qp->qp_context); in __ib_shared_qp_event_handler()
1108 void *qp_context) in __ib_open_qp() argument
1129 qp->qp_context = qp_context; in __ib_open_qp()
1155 qp_open_attr->qp_context); in ib_open_qp()
1168 qp->qp_context = qp; in create_xrc_qp_user()
1177 qp_init_attr->qp_context); in create_xrc_qp_user()
1246 qp->qp_context = qp_init_attr->qp_context; in ib_create_qp()
/kernel/linux/linux-5.10/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.c4324 smac_index = cmd->qp_context.pri_path.grh_mylmc; in mlx4_UPDATE_QP_wrapper()
5270 ctx->qp_context.qos_vport = work->qos_vport; in update_qos_vpp()
5361 upd_context->qp_context.param3 = qp->param3; in mlx4_vf_immed_vlan_work_handler()
5362 upd_context->qp_context.pri_path.vlan_control = qp->vlan_control; in mlx4_vf_immed_vlan_work_handler()
5363 upd_context->qp_context.pri_path.fvl_rx = qp->fvl_rx; in mlx4_vf_immed_vlan_work_handler()
5364 upd_context->qp_context.pri_path.vlan_index = qp->vlan_index; in mlx4_vf_immed_vlan_work_handler()
5365 upd_context->qp_context.pri_path.fl = qp->pri_path_fl; in mlx4_vf_immed_vlan_work_handler()
5366 upd_context->qp_context.pri_path.feup = qp->feup; in mlx4_vf_immed_vlan_work_handler()
5367 upd_context->qp_context.pri_path.sched_queue = in mlx4_vf_immed_vlan_work_handler()
5370 upd_context->qp_context.param3 = qp->param3 & ~cpu_to_be32(MLX4_STRIP_VLAN); in mlx4_vf_immed_vlan_work_handler()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/ulp/isert/
Dib_isert.c123 attr.qp_context = isert_conn; in isert_create_qp()
517 struct isert_conn *isert_conn = cma_id->qp->qp_context; in isert_connected_handler()
631 struct isert_conn *isert_conn = cma_id->qp->qp_context; in isert_disconnected_handler()
658 struct isert_conn *isert_conn = cma_id->qp->qp_context; in isert_connect_error()
697 isert_conn = cma_id->qp->qp_context; in isert_cma_handler()
1317 struct isert_conn *isert_conn = wc->qp->qp_context; in isert_recv_done()
1376 struct isert_conn *isert_conn = wc->qp->qp_context; in isert_login_recv_done()
1574 struct isert_conn *isert_conn = wc->qp->qp_context; in isert_rdma_write_done()
1616 struct isert_conn *isert_conn = wc->qp->qp_context; in isert_rdma_read_done()
1692 struct isert_conn *isert_conn = wc->qp->qp_context; in isert_login_send_done()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/smc/
Dsmc_wr.c87 link = wc->qp->qp_context; in smc_wr_tx_process_cqe()
367 struct smc_link *link = (struct smc_link *)wc->qp->qp_context; in smc_wr_rx_demultiplex()
390 link = wc[i].qp->qp_context; in smc_wr_rx_process_cqes()
Dsmc_cdc.c422 struct smc_link *link = (struct smc_link *)wc->qp->qp_context; in smc_cdc_rx_handler()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/
Diser_initiator.c564 struct ib_conn *ib_conn = wc->qp->qp_context; in iser_login_rsp()
656 struct ib_conn *ib_conn = wc->qp->qp_context; in iser_task_rsp()
731 struct ib_conn *ib_conn = wc->qp->qp_context; in iser_dataout_comp()
Diser_verbs.c268 init_attr.qp_context = (void *)ib_conn; in iser_create_ib_conn_res()
978 struct iser_conn *iser_conn = to_iser_conn(wc->qp->qp_context); in iser_err_comp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dgsi.c226 .qp_context = gsi->rx_qp->qp_context, in create_gsi_ud_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Dev.c111 (*qhp->ibqp.event_handler)(&event, qhp->ibqp.qp_context); in post_qp_event()
/kernel/linux/linux-5.10/drivers/nvme/target/
Drdma.c703 struct nvmet_rdma_queue *queue = wc->qp->qp_context; in nvmet_rdma_send_done()
756 struct nvmet_rdma_queue *queue = wc->qp->qp_context; in nvmet_rdma_read_data_done()
789 struct nvmet_rdma_queue *queue = wc->qp->qp_context; in nvmet_rdma_write_data_done()
1011 struct nvmet_rdma_queue *queue = wc->qp->qp_context; in nvmet_rdma_recv_done()
1279 qp_attr.qp_context = queue; in nvmet_rdma_create_queue_ib()
1759 queue = cm_id->qp->qp_context; in nvmet_rdma_cm_handler()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dqp.c759 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in rvt_qp_mr_clean()
1705 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in rvt_modify_qp()
1711 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in rvt_modify_qp()
1811 init_attr->qp_context = qp->ibqp.qp_context; in rvt_query_qp()
2512 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in rvt_comm_est()
2532 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in rvt_rc_error()
3252 sqp->ibqp.event_handler(&ev, sqp->ibqp.qp_context); in rvt_ruc_loopback()
/kernel/linux/linux-5.10/include/linux/mlx4/
Dqp.h240 struct mlx4_qp_context qp_context; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_ruc.c56 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in qib_migrate_qp()
/kernel/linux/linux-5.10/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()
797 struct ipoib_cm_tx *tx = wc->qp->qp_context; in ipoib_cm_handle_tx_wc()
1068 .qp_context = tx, in ipoib_cm_create_tx_qp()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_qp.c366 init->qp_context = qp->ibqp.qp_context; in rxe_qp_to_init()
Drxe_comp.c474 qp->ibqp.qp_context); in complete_ack()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dqp.c832 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in hfi1_migrate_qp()
947 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in hfi1_qp_iter_cb()
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c442 qp_attr.qp_context = &newxprt->sc_xprt; in svc_rdma_accept()
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c1049 init_attr->qp_context = qp->ibqp.qp_context; in pvrdma_query_qp()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srpt/
Dib_srpt.c873 struct srpt_rdma_ch *ch = wc->qp->qp_context; in srpt_zerolength_write_done()
1326 struct srpt_rdma_ch *ch = wc->qp->qp_context; in srpt_rdma_read_done()
1687 struct srpt_rdma_ch *ch = wc->qp->qp_context; in srpt_recv_done()
1748 struct srpt_rdma_ch *ch = wc->qp->qp_context; in srpt_send_done()
1805 qp_init->qp_context = (void *)ch; in srpt_create_ch_ib()
/kernel/linux/linux-5.10/net/9p/
Dtrans_rdma.c703 qp_attr.qp_context = client; in rdma_create_trans()

12