Home
last modified time | relevance | path

Searched refs:send_agent (Results 1 – 10 of 10) sorted by relevance

/drivers/infiniband/hw/mthca/
Dmthca_mad.c81 if (!dev->send_agent[port_num - 1][0]) in update_sm_ah()
89 new_ah = ib_create_ah(dev->send_agent[port_num - 1][0]->qp->pd, in update_sm_ah()
167 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; in forward_trap()
310 dev->send_agent[p][q] = agent; in mthca_create_agents()
328 if (dev->send_agent[p][q]) in mthca_create_agents()
329 ib_unregister_mad_agent(dev->send_agent[p][q]); in mthca_create_agents()
341 agent = dev->send_agent[p][q]; in mthca_free_agents()
342 dev->send_agent[p][q] = NULL; in mthca_free_agents()
Dmthca_dev.h355 struct ib_mad_agent *send_agent[MTHCA_MAX_PORTS][2]; member
/drivers/infiniband/hw/mlx4/
Dmad.c192 if (!dev->send_agent[port_num - 1][0]) in update_sm_ah()
200 new_ah = ib_create_ah(dev->send_agent[port_num - 1][0]->qp->pd, in update_sm_ah()
356 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; in forward_trap()
935 dev->send_agent[p][q] = agent; in mlx4_ib_mad_init()
937 dev->send_agent[p][q] = NULL; in mlx4_ib_mad_init()
946 if (dev->send_agent[p][q]) in mlx4_ib_mad_init()
947 ib_unregister_mad_agent(dev->send_agent[p][q]); in mlx4_ib_mad_init()
959 agent = dev->send_agent[p][q]; in mlx4_ib_mad_cleanup()
961 dev->send_agent[p][q] = NULL; in mlx4_ib_mad_cleanup()
Dmlx4_ib.h554 struct ib_mad_agent *send_agent[MLX4_MAX_PORTS][2]; member
Dmcg.c232 struct ib_mad_agent *agent = dev->send_agent[ctx->port - 1][1]; in send_mad_to_slave()
/drivers/infiniband/hw/qib/
Dqib_mad.c73 agent = ibp->send_agent; in qib_send_trap()
2503 ibp->send_agent = agent; in qib_create_agents()
2511 if (ibp->send_agent) { in qib_create_agents()
2512 agent = ibp->send_agent; in qib_create_agents()
2513 ibp->send_agent = NULL; in qib_create_agents()
2530 if (ibp->send_agent) { in qib_free_agents()
2531 agent = ibp->send_agent; in qib_free_agents()
2532 ibp->send_agent = NULL; in qib_free_agents()
Dqib_verbs.h687 struct ib_mad_agent *send_agent; /* agent for SMI (traps) */ member
Dqib_iba7322.c5500 agent = ibp->send_agent; in try_7322_ipg()
/drivers/staging/rdma/hfi1/
Dmad.c94 agent = ibp->send_agent; in send_trap()
4220 ibp->send_agent = agent; in hfi1_create_agents()
4228 if (ibp->send_agent) { in hfi1_create_agents()
4229 agent = ibp->send_agent; in hfi1_create_agents()
4230 ibp->send_agent = NULL; in hfi1_create_agents()
4247 if (ibp->send_agent) { in hfi1_free_agents()
4248 agent = ibp->send_agent; in hfi1_free_agents()
4249 ibp->send_agent = NULL; in hfi1_free_agents()
Dverbs.h680 struct ib_mad_agent *send_agent; /* agent for SMI (traps) */ member