Lines Matching refs:agent
88 static void rvt_send_mad_handler(struct ib_mad_agent *agent,
98 * If driver needs to be notified of mad agent creation then call back
104 struct ib_mad_agent *agent;
111 agent = ib_register_mad_agent(&rdi->ibdev, p + 1,
115 if (IS_ERR(agent)) {
116 ret = PTR_ERR(agent);
120 rvp->send_agent = agent;
132 agent = rvp->send_agent;
134 ib_unregister_mad_agent(agent);
147 * If driver needs notification of mad agent removal make the call back
151 struct ib_mad_agent *agent;
158 agent = rvp->send_agent;
160 ib_unregister_mad_agent(agent);