Home
last modified time | relevance | path

Searched refs:port_priv (Results 1 – 4 of 4) sorted by relevance

/NextBSD/sys/ofed/drivers/infiniband/core/
HDagent.c85 struct ib_agent_port_private *port_priv; in agent_send_response() local
92 port_priv = ib_get_agent_port(device, 0); in agent_send_response()
94 port_priv = ib_get_agent_port(device, port_num); in agent_send_response()
96 if (!port_priv) { in agent_send_response()
101 agent = port_priv->agent[qpn]; in agent_send_response()
147 struct ib_agent_port_private *port_priv; in ib_agent_port_open() local
152 port_priv = kzalloc(sizeof *port_priv, GFP_KERNEL); in ib_agent_port_open()
153 if (!port_priv) { in ib_agent_port_open()
161 port_priv->agent[0] = ib_register_mad_agent(device, port_num, in ib_agent_port_open()
165 if (IS_ERR(port_priv->agent[0])) { in ib_agent_port_open()
[all …]
HDmad.c91 struct ib_mad_port_private *port_priv,
147 return &mad_send_wr->mad_agent_priv->qp_info->port_priv->sa_cc; in get_cc_obj()
565 tf_free_agent(mad_agent_priv->qp_info->port_priv->sa_cc.tf, in cancel_sa_cc_mads()
581 ret = tf_modify_item(mad_agent_priv->qp_info->port_priv->sa_cc.tf, in modify_sa_cc_mad()
725 struct ib_mad_port_private *port_priv; in ib_register_mad_agent() local
799 port_priv = ib_get_mad_port(device, port_num); in ib_register_mad_agent()
800 if (!port_priv) { in ib_register_mad_agent()
807 if (!port_priv->qp_info[qpn].qp) { in ib_register_mad_agent()
819 mad_agent_priv->agent.mr = ib_get_dma_mr(port_priv->qp_info[qpn].qp->pd, in ib_register_mad_agent()
835 mad_agent_priv->qp_info = &port_priv->qp_info[qpn]; in ib_register_mad_agent()
[all …]
HDmad_priv.h201 struct ib_mad_port_private *port_priv; member
HDmad_rmpp.c104 flush_workqueue(agent->qp_info->port_priv->wq); in ib_cancel_rmpp_recvs()
457 queue_delayed_work(rmpp_recv->agent->qp_info->port_priv->wq, in complete_rmpp()
550 queue_delayed_work(agent->qp_info->port_priv->wq, in start_rmpp()