Home
last modified time | relevance | path

Searched refs:ib_mad_agent (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.10/include/rdma/
Dib_mad.h465 struct ib_mad_agent *mad_agent;
522 struct ib_mad_agent;
531 typedef void (*ib_mad_send_handler)(struct ib_mad_agent *mad_agent,
545 typedef void (*ib_mad_recv_handler)(struct ib_mad_agent *mad_agent,
567 struct ib_mad_agent { struct
670 struct ib_mad_agent *ib_register_mad_agent(struct ib_device *device,
686 void ib_unregister_mad_agent(struct ib_mad_agent *mad_agent);
728 void ib_cancel_mad(struct ib_mad_agent *mad_agent,
740 int ib_modify_mad(struct ib_mad_agent *mad_agent,
770 struct ib_mad_send_buf *ib_create_send_mad(struct ib_mad_agent *mad_agent,
[all …]
Drdma_vt.h36 struct ib_mad_agent *send_agent; /* agent for SMI (traps) */
/Linux-v5.10/drivers/infiniband/sw/rdmavt/
Dmad.c88 static void rvt_send_mad_handler(struct ib_mad_agent *agent, in rvt_send_mad_handler()
104 struct ib_mad_agent *agent; in rvt_create_mad_agents()
151 struct ib_mad_agent *agent; in rvt_free_mad_agents()
/Linux-v5.10/drivers/infiniband/core/
Dagent.c50 struct ib_mad_agent *agent[2];
86 struct ib_mad_agent *agent; in agent_send_response()
143 static void agent_send_handler(struct ib_mad_agent *mad_agent, in agent_send_handler()
Dcore_priv.h239 int ib_mad_agent_security_setup(struct ib_mad_agent *agent,
241 void ib_mad_agent_security_cleanup(struct ib_mad_agent *agent);
294 static inline int ib_mad_agent_security_setup(struct ib_mad_agent *agent, in ib_mad_agent_security_setup()
300 static inline void ib_mad_agent_security_cleanup(struct ib_mad_agent *agent) in ib_mad_agent_security_cleanup()
Dmad_priv.h92 struct ib_mad_agent agent;
114 struct ib_mad_agent agent;
Duser_mad.c120 struct ib_mad_agent *agent[IB_UMAD_MAX_AGENTS];
173 static struct ib_mad_agent *__get_agent(struct ib_umad_file *file, int id) in __get_agent()
179 struct ib_mad_agent *agent, in queue_packet()
209 static void send_handler(struct ib_mad_agent *agent, in send_handler()
228 static void recv_handler(struct ib_mad_agent *agent, in recv_handler()
488 struct ib_mad_agent *agent; in ib_umad_write()
669 struct ib_mad_agent *agent = NULL; in ib_umad_reg_agent()
771 struct ib_mad_agent *agent = NULL; in ib_umad_reg_agent2()
882 struct ib_mad_agent *agent = NULL; in ib_umad_unreg_agent()
Dsa_query.c91 struct ib_mad_agent *agent;
916 static void send_handler(struct ib_mad_agent *agent,
1175 struct ib_mad_agent *agent; in ib_sa_cancel_query()
1337 static void init_mad(struct ib_sa_query *query, struct ib_mad_agent *agent) in init_mad()
1548 struct ib_mad_agent *agent; in ib_sa_path_rec_get()
1703 struct ib_mad_agent *agent; in ib_sa_service_rec_query()
1800 struct ib_mad_agent *agent; in ib_sa_mcmember_rec_query()
1891 struct ib_mad_agent *agent; in ib_sa_guid_info_rec_query()
2053 struct ib_mad_agent *agent; in ib_sa_classport_info_rec_query()
2154 static void send_handler(struct ib_mad_agent *agent, in send_handler()
[all …]
Dsecurity.c677 struct ib_mad_agent *ag; in ib_mad_agent_security_change()
689 int ib_mad_agent_security_setup(struct ib_mad_agent *agent, in ib_mad_agent_security_setup()
724 void ib_mad_agent_security_cleanup(struct ib_mad_agent *agent) in ib_mad_agent_security_cleanup()
Dmad.c224 struct ib_mad_agent *ib_register_mad_agent(struct ib_device *device, in ib_register_mad_agent()
235 struct ib_mad_agent *ret = ERR_PTR(-EINVAL); in ib_register_mad_agent()
528 void ib_unregister_mad_agent(struct ib_mad_agent *mad_agent) in ib_unregister_mad_agent()
834 int ib_mad_kernel_rmpp_agent(const struct ib_mad_agent *agent) in ib_mad_kernel_rmpp_agent()
840 struct ib_mad_send_buf * ib_create_send_mad(struct ib_mad_agent *mad_agent, in ib_create_send_mad()
1005 struct ib_mad_agent *mad_agent; in ib_send_mad()
2467 int ib_modify_mad(struct ib_mad_agent *mad_agent, in ib_modify_mad()
2501 void ib_cancel_mad(struct ib_mad_agent *mad_agent, in ib_cancel_mad()
Dcm.c204 struct ib_mad_agent *mad_agent;
310 struct ib_mad_agent *mad_agent; in cm_alloc_msg()
3806 static void cm_send_handler(struct ib_mad_agent *mad_agent, in cm_send_handler()
4012 static void cm_recv_handler(struct ib_mad_agent *mad_agent, in cm_recv_handler()
4428 struct ib_mad_agent *cur_mad_agent; in cm_remove_one()
Dmad_rmpp.c151 static struct ib_mad_send_buf *alloc_response_msg(struct ib_mad_agent *agent, in alloc_response_msg()
/Linux-v5.10/drivers/infiniband/hw/mthca/
Dmthca_mad.c170 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; in forward_trap()
277 static void send_handler(struct ib_mad_agent *agent, in send_handler()
285 struct ib_mad_agent *agent; in mthca_create_agents()
327 struct ib_mad_agent *agent; in mthca_free_agents()
Dmthca_dev.h356 struct ib_mad_agent *send_agent[MTHCA_MAX_PORTS][2];
/Linux-v5.10/drivers/infiniband/ulp/srpt/
Dib_srpt.h415 struct ib_mad_agent *mad_agent;
Dib_srpt.c456 static void srpt_mad_send_handler(struct ib_mad_agent *mad_agent, in srpt_mad_send_handler()
469 static void srpt_mad_recv_handler(struct ib_mad_agent *mad_agent, in srpt_mad_recv_handler()
/Linux-v5.10/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema.c105 struct ib_mad_agent *mad_agent;
603 static void vema_send(struct ib_mad_agent *mad_agent, in vema_send()
620 static void vema_recv(struct ib_mad_agent *mad_agent, in vema_recv()
/Linux-v5.10/drivers/infiniband/hw/mlx4/
Dmad.c387 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; in forward_trap()
1013 static void send_handler(struct ib_mad_agent *agent, in send_handler()
1023 struct ib_mad_agent *agent; in mlx4_ib_mad_init()
1059 struct ib_mad_agent *agent; in mlx4_ib_mad_cleanup()
Dmlx4_ib.h619 struct ib_mad_agent *send_agent[MLX4_MAX_PORTS][2];
Dmcg.c232 struct ib_mad_agent *agent = dev->send_agent[ctx->port - 1][1]; in send_mad_to_slave()
/Linux-v5.10/drivers/infiniband/hw/qib/
Dqib_mad.c67 struct ib_mad_agent *agent; in qib_send_trap()
Dqib_iba7322.c5433 struct ib_mad_agent *agent; in try_7322_ipg()
/Linux-v5.10/drivers/infiniband/hw/hfi1/
Dmad.c316 struct ib_mad_agent *agent; in send_trap()