Home
last modified time | relevance | path

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

12

/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 …]
/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.c1057 event->element.qp->event_handler(event, event->element.qp->qp_context); in __ib_shared_qp_event_handler()
1070 void *qp_context) in __ib_open_qp() argument
1091 qp->qp_context = qp_context; in __ib_open_qp()
1115 qp_open_attr->qp_context); in ib_open_qp()
1131 qp->qp_context = qp; in create_xrc_qp_user()
1140 qp_init_attr->qp_context); in create_xrc_qp_user()
1205 qp->qp_context = qp_init_attr->qp_context; in ib_create_qp_user()
/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()
5269 ctx->qp_context.qos_vport = work->qos_vport; in update_qos_vpp()
5360 upd_context->qp_context.param3 = qp->param3; in mlx4_vf_immed_vlan_work_handler()
5361 upd_context->qp_context.pri_path.vlan_control = qp->vlan_control; in mlx4_vf_immed_vlan_work_handler()
5362 upd_context->qp_context.pri_path.fvl_rx = qp->fvl_rx; in mlx4_vf_immed_vlan_work_handler()
5363 upd_context->qp_context.pri_path.vlan_index = qp->vlan_index; in mlx4_vf_immed_vlan_work_handler()
5364 upd_context->qp_context.pri_path.fl = qp->pri_path_fl; in mlx4_vf_immed_vlan_work_handler()
5365 upd_context->qp_context.pri_path.feup = qp->feup; in mlx4_vf_immed_vlan_work_handler()
5366 upd_context->qp_context.pri_path.sched_queue = in mlx4_vf_immed_vlan_work_handler()
5369 upd_context->qp_context.param3 = qp->param3 & ~cpu_to_be32(MLX4_STRIP_VLAN); in mlx4_vf_immed_vlan_work_handler()
[all …]
/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()
/drivers/infiniband/ulp/isert/
Dib_isert.c125 attr.qp_context = isert_conn; in isert_create_qp()
595 struct isert_conn *isert_conn = cma_id->qp->qp_context; in isert_connected_handler()
709 struct isert_conn *isert_conn = cma_id->qp->qp_context; in isert_disconnected_handler()
736 struct isert_conn *isert_conn = cma_id->qp->qp_context; in isert_connect_error()
775 isert_conn = cma_id->qp->qp_context; in isert_cma_handler()
1398 struct isert_conn *isert_conn = wc->qp->qp_context; in isert_recv_done()
1457 struct isert_conn *isert_conn = wc->qp->qp_context; in isert_login_recv_done()
1655 struct isert_conn *isert_conn = wc->qp->qp_context; in isert_rdma_write_done()
1697 struct isert_conn *isert_conn = wc->qp->qp_context; in isert_rdma_read_done()
1773 struct isert_conn *isert_conn = wc->qp->qp_context; in isert_login_send_done()
[all …]
/drivers/infiniband/ulp/iser/
Diser_initiator.c560 struct ib_conn *ib_conn = wc->qp->qp_context; in iser_login_rsp()
652 struct ib_conn *ib_conn = wc->qp->qp_context; in iser_task_rsp()
727 struct ib_conn *ib_conn = wc->qp->qp_context; in iser_dataout_comp()
Diser_verbs.c392 init_attr.qp_context = (void *)ib_conn; in iser_create_ib_conn_res()
1120 struct iser_conn *iser_conn = to_iser_conn(wc->qp->qp_context); in iser_err_comp()
/drivers/infiniband/hw/mlx5/
Dgsi.c256 .qp_context = gsi->rx_qp->qp_context, in create_gsi_ud_qp()
/drivers/infiniband/hw/cxgb3/
Diwch_ev.c97 (*qhp->ibqp.event_handler)(&event, qhp->ibqp.qp_context); in post_qp_event()
/drivers/infiniband/sw/rdmavt/
Dqp.c753 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in rvt_qp_mr_clean()
1667 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in rvt_modify_qp()
1673 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in rvt_modify_qp()
1779 init_attr->qp_context = qp->ibqp.qp_context; in rvt_query_qp()
2503 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in rvt_comm_est()
2523 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in rvt_rc_error()
3243 sqp->ibqp.event_handler(&ev, sqp->ibqp.qp_context); in rvt_ruc_loopback()
/drivers/infiniband/hw/cxgb4/
Dev.c111 (*qhp->ibqp.event_handler)(&event, qhp->ibqp.qp_context); in post_qp_event()
/drivers/infiniband/hw/qib/
Dqib_ruc.c56 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in qib_migrate_qp()
/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()
/drivers/infiniband/sw/rxe/
Drxe_qp.c389 init->qp_context = qp->ibqp.qp_context; in rxe_qp_to_init()
Drxe_comp.c501 qp->ibqp.qp_context); in complete_ack()
Drxe_req.c169 qp->ibqp.qp_context); in req_next_wqe()
/drivers/infiniband/hw/hfi1/
Dqp.c843 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in hfi1_migrate_qp()
958 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in hfi1_qp_iter_cb()
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c988 init_attr->qp_context = qp->ibqp.qp_context; in pvrdma_query_qp()
/drivers/nvme/target/
Drdma.c1003 qp_attr.qp_context = queue; in nvmet_rdma_create_queue_ib()
1446 queue = cm_id->qp->qp_context; in nvmet_rdma_cm_handler()
/drivers/infiniband/hw/bnxt_re/
Dmain.c806 qp->ib_qp.event_handler(&event, qp->ib_qp.qp_context); in bnxt_re_handle_qp_async_event()
1052 qp->event_handler(&ib_event, qp->qp_context); in bnxt_re_dispatch_event()
/drivers/infiniband/hw/qedr/
Dqedr_iw_cm.c168 ibqp->event_handler(&event, ibqp->qp_context); in qedr_iw_qp_event()
/drivers/infiniband/hw/mlx4/
Dmad.c1787 static void pv_qp_event_handler(struct ib_event *event, void *qp_context) in pv_qp_event_handler() argument
1789 struct mlx4_ib_demux_pv_ctx *sqp = qp_context; in pv_qp_event_handler()
1832 qp_init_attr.init_attr.qp_context = ctx; in create_pv_sqp()
/drivers/infiniband/hw/efa/
Defa_verbs.c393 qp_init_attr->qp_context = ibqp->qp_context; in efa_query_qp()

12