Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dmad.c120 rvp->send_agent = agent; in rvt_create_mad_agents()
131 if (rvp->send_agent) { in rvt_create_mad_agents()
132 agent = rvp->send_agent; in rvt_create_mad_agents()
133 rvp->send_agent = NULL; in rvt_create_mad_agents()
157 if (rvp->send_agent) { in rvt_free_mad_agents()
158 agent = rvp->send_agent; in rvt_free_mad_agents()
159 rvp->send_agent = NULL; in rvt_free_mad_agents()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_mad.c82 if (!dev->send_agent[port_num - 1][0]) in update_sm_ah()
91 new_ah = rdma_create_ah(dev->send_agent[port_num - 1][0]->qp->pd, in update_sm_ah()
170 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; in forward_trap()
301 dev->send_agent[p][q] = agent; in mthca_create_agents()
319 if (dev->send_agent[p][q]) in mthca_create_agents()
320 ib_unregister_mad_agent(dev->send_agent[p][q]); in mthca_create_agents()
332 agent = dev->send_agent[p][q]; in mthca_free_agents()
333 dev->send_agent[p][q] = NULL; in mthca_free_agents()
Dmthca_dev.h355 struct ib_mad_agent *send_agent[MTHCA_MAX_PORTS][2]; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmad.c195 if (!dev->send_agent[port_num - 1][0]) in update_sm_ah()
204 new_ah = rdma_create_ah(dev->send_agent[port_num - 1][0]->qp->pd, in update_sm_ah()
387 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; in forward_trap()
1040 dev->send_agent[p][q] = agent; in mlx4_ib_mad_init()
1042 dev->send_agent[p][q] = NULL; in mlx4_ib_mad_init()
1051 if (dev->send_agent[p][q]) in mlx4_ib_mad_init()
1052 ib_unregister_mad_agent(dev->send_agent[p][q]); in mlx4_ib_mad_init()
1064 agent = dev->send_agent[p][q]; in mlx4_ib_mad_cleanup()
1066 dev->send_agent[p][q] = NULL; in mlx4_ib_mad_cleanup()
Dmlx4_ib.h619 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()
/kernel/linux/linux-5.10/include/rdma/
Drdma_vt.h36 struct ib_mad_agent *send_agent; /* agent for SMI (traps) */ member
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_mad.c73 agent = ibp->rvp.send_agent; in qib_send_trap()
Dqib_iba7322.c5438 agent = ibp->rvp.send_agent; in try_7322_ipg()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dmad.c322 agent = ibp->rvp.send_agent; in send_trap()