Lines Matching refs:agent
46 static void rvt_send_mad_handler(struct ib_mad_agent *agent,
56 * If driver needs to be notified of mad agent creation then call back
62 struct ib_mad_agent *agent;
69 agent = ib_register_mad_agent(&rdi->ibdev, p + 1,
73 if (IS_ERR(agent)) {
74 ret = PTR_ERR(agent);
78 rvp->send_agent = agent;
90 agent = rvp->send_agent;
92 ib_unregister_mad_agent(agent);
105 * If driver needs notification of mad agent removal make the call back
109 struct ib_mad_agent *agent;
116 agent = rvp->send_agent;
118 ib_unregister_mad_agent(agent);