Home
last modified time | relevance | path

Searched refs:qp_info (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/drivers/infiniband/core/
Dmad.c59 struct ib_mad_qp_info *qp_info, in create_mad_addr_info() argument
63 struct ib_device *dev = qp_info->port_priv->device; in create_mad_addr_info()
64 u8 pnum = qp_info->port_priv->port_num; in create_mad_addr_info()
103 static int ib_mad_post_receive_mads(struct ib_mad_qp_info *qp_info,
365 if (!port_priv->qp_info[qpn].qp) { in ib_register_mad_agent()
388 mad_agent_priv->qp_info = &port_priv->qp_info[qpn]; in ib_register_mad_agent()
395 mad_agent_priv->agent.qp = port_priv->qp_info[qpn].qp; in ib_register_mad_agent()
502 static int register_snoop_agent(struct ib_mad_qp_info *qp_info, in register_snoop_agent() argument
509 spin_lock_irqsave(&qp_info->snoop_lock, flags); in register_snoop_agent()
511 for (i = 0; i < qp_info->snoop_table_size; i++) in register_snoop_agent()
[all …]
Dmad_priv.h94 struct ib_mad_qp_info *qp_info; member
115 struct ib_mad_qp_info *qp_info; member
184 struct ib_mad_qp_info *qp_info; member
209 struct ib_mad_qp_info qp_info[IB_MAD_QPS_CORE]; member
Dmad_rmpp.c106 flush_workqueue(agent->qp_info->port_priv->wq); in ib_cancel_rmpp_recvs()
405 return max(agent->qp_info->recv_queue.max_active >> 3, 1); in window_size()
440 bool opa = rdma_cap_opa_mad(rmpp_recv->agent->qp_info->port_priv->device, in get_mad_len()
441 rmpp_recv->agent->qp_info->port_priv->port_num); in get_mad_len()
472 queue_delayed_work(rmpp_recv->agent->qp_info->port_priv->wq, in complete_rmpp()
565 queue_delayed_work(agent->qp_info->port_priv->wq, in start_rmpp()
/Linux-v5.4/include/trace/events/
Dib_mad.h19 struct ib_mad_qp_info *qp_info,
25 struct ib_mad_qp_info *qp_info),
26 TP_ARGS(wr, qp_info),
58 __entry->qp_num = wr->mad_agent_priv->qp_info->qp->qp_num;
84 create_mad_addr_info(wr, qp_info, __entry);
110 struct ib_mad_qp_info *qp_info),
111 TP_ARGS(wr, qp_info));
114 struct ib_mad_qp_info *qp_info),
115 TP_ARGS(wr, qp_info));
118 struct ib_mad_qp_info *qp_info),
[all …]
/Linux-v5.4/drivers/misc/mic/scif/
Dscif_api.c52 ep->qp_info.qp = kzalloc(sizeof(*ep->qp_info.qp), GFP_KERNEL); in scif_open()
53 if (!ep->qp_info.qp) in scif_open()
71 kfree(ep->qp_info.qp); in scif_open()
425 ep->qp_info.qp = NULL; in scif_listen()
476 err = scif_setup_qp_connect(ep->qp_info.qp, &ep->qp_info.qp_offset, in scif_conn_func()
481 __func__, err, ep->qp_info.qp_offset); in scif_conn_func()
496 msg.payload[1] = ep->qp_info.qp_offset; in scif_conn_func()
519 ep->qp_info.qp, in scif_conn_func()
520 ep->qp_info.gnt_pld); in scif_conn_func()
684 ep->qp_info.qp->magic = SCIFEP_MAGIC; in __scif_connect()
[all …]
Dscif_epd.c14 struct scif_qp *qp = ep->qp_info.qp; in scif_cleanup_ep_qp()
41 struct scif_qp *qp = ep->qp_info.qp; in scif_teardown_ep()
173 ep->qp_info.gnt_pld = msg->payload[1]; in scif_cnctgnt()
Dscif_epd.h102 struct scif_endpt_qp_info qp_info; member
/Linux-v5.4/drivers/infiniband/hw/i40iw/
Di40iw_utils.c1225 struct i40iw_create_qp_info *qp_info; in i40iw_cqp_qp_create_cmd() local
1233 qp_info = &cqp_request->info.in.u.qp_create.info; in i40iw_cqp_qp_create_cmd()
1235 memset(qp_info, 0, sizeof(*qp_info)); in i40iw_cqp_qp_create_cmd()
1237 qp_info->cq_num_valid = true; in i40iw_cqp_qp_create_cmd()
1238 qp_info->next_iwarp_state = I40IW_QP_STATE_RTS; in i40iw_cqp_qp_create_cmd()
Di40iw_verbs.c538 struct i40iw_create_qp_info *qp_info; in i40iw_create_qp() local
702 qp_info = &cqp_request->info.in.u.qp_create.info; in i40iw_create_qp()
704 memset(qp_info, 0, sizeof(*qp_info)); in i40iw_create_qp()
706 qp_info->cq_num_valid = true; in i40iw_create_qp()
707 qp_info->next_iwarp_state = I40IW_QP_STATE_IDLE; in i40iw_create_qp()
/Linux-v5.4/drivers/scsi/bnx2i/
Dbnx2i.h628 struct qp_info { struct
760 struct qp_info qp;
Dbnx2i_hwi.c1957 struct qp_info *qp; in bnx2i_process_new_cqes()