Home
last modified time | relevance | path

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

/Linux-v4.19/include/rdma/
Dib_mad.h482 struct ib_mad_agent *mad_agent;
539 struct ib_mad_agent;
548 typedef void (*ib_mad_send_handler)(struct ib_mad_agent *mad_agent,
561 typedef void (*ib_mad_snoop_handler)(struct ib_mad_agent *mad_agent,
577 typedef void (*ib_mad_recv_handler)(struct ib_mad_agent *mad_agent,
600 struct ib_mad_agent { struct
705 struct ib_mad_agent *ib_register_mad_agent(struct ib_device *device,
736 struct ib_mad_agent *ib_register_mad_snoop(struct ib_device *device,
751 void ib_unregister_mad_agent(struct ib_mad_agent *mad_agent);
793 void ib_cancel_mad(struct ib_mad_agent *mad_agent,
[all …]
Drdma_vt.h77 struct ib_mad_agent *send_agent; /* agent for SMI (traps) */
/Linux-v4.19/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-v4.19/drivers/infiniband/core/
Dcore_priv.h226 int ib_mad_agent_security_setup(struct ib_mad_agent *agent,
228 void ib_mad_agent_security_cleanup(struct ib_mad_agent *agent);
280 static inline int ib_mad_agent_security_setup(struct ib_mad_agent *agent, in ib_mad_agent_security_setup()
286 static inline void ib_mad_agent_security_cleanup(struct ib_mad_agent *agent) in ib_mad_agent_security_cleanup()
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()
Dmad_priv.h92 struct ib_mad_agent agent;
114 struct ib_mad_agent agent;
Duser_mad.c119 struct ib_mad_agent *agent[IB_UMAD_MAX_AGENTS];
165 static struct ib_mad_agent *__get_agent(struct ib_umad_file *file, int id) in __get_agent()
171 struct ib_mad_agent *agent, in queue_packet()
201 static void send_handler(struct ib_mad_agent *agent, in send_handler()
220 static void recv_handler(struct ib_mad_agent *agent, in recv_handler()
474 struct ib_mad_agent *agent; in ib_umad_write()
652 struct ib_mad_agent *agent = NULL; in ib_umad_reg_agent()
754 struct ib_mad_agent *agent = NULL; in ib_umad_reg_agent2()
865 struct ib_mad_agent *agent = NULL; in ib_umad_unreg_agent()
Dsecurity.c683 struct ib_mad_agent *ag = container_of(nb, struct ib_mad_agent, lsm_nb); in ib_mad_agent_security_change()
695 int ib_mad_agent_security_setup(struct ib_mad_agent *agent, in ib_mad_agent_security_setup()
726 void ib_mad_agent_security_cleanup(struct ib_mad_agent *agent) in ib_mad_agent_security_cleanup()
Dsa_query.c91 struct ib_mad_agent *agent;
930 static void send_handler(struct ib_mad_agent *agent,
1189 struct ib_mad_agent *agent; in ib_sa_cancel_query()
1391 static void init_mad(struct ib_sa_query *query, struct ib_mad_agent *agent) in init_mad()
1612 struct ib_mad_agent *agent; in ib_sa_path_rec_get()
1766 struct ib_mad_agent *agent; in ib_sa_service_rec_query()
1863 struct ib_mad_agent *agent; in ib_sa_mcmember_rec_query()
1954 struct ib_mad_agent *agent; in ib_sa_guid_info_rec_query()
2116 struct ib_mad_agent *agent; in ib_sa_classport_info_rec_query()
2217 static void send_handler(struct ib_mad_agent *agent, in send_handler()
[all …]
Dmad.c202 struct ib_mad_agent *ib_register_mad_agent(struct ib_device *device, in ib_register_mad_agent()
213 struct ib_mad_agent *ret = ERR_PTR(-EINVAL); in ib_register_mad_agent()
509 struct ib_mad_agent *ib_register_mad_snoop(struct ib_device *device, in ib_register_mad_snoop()
518 struct ib_mad_agent *ret; in ib_register_mad_snoop()
651 void ib_unregister_mad_agent(struct ib_mad_agent *mad_agent) in ib_unregister_mad_agent()
1013 int ib_mad_kernel_rmpp_agent(const struct ib_mad_agent *agent) in ib_mad_kernel_rmpp_agent()
1019 struct ib_mad_send_buf * ib_create_send_mad(struct ib_mad_agent *mad_agent, in ib_create_send_mad()
1184 struct ib_mad_agent *mad_agent; in ib_send_mad()
1369 struct ib_mad_agent *ib_redirect_mad_qp(struct ib_qp *qp, in ib_redirect_mad_qp()
1379 int ib_process_mad_wc(struct ib_mad_agent *mad_agent, in ib_process_mad_wc()
[all …]
Dcm.c211 struct ib_mad_agent *mad_agent;
317 struct ib_mad_agent *mad_agent; in cm_alloc_msg()
3786 static void cm_send_handler(struct ib_mad_agent *mad_agent, in cm_send_handler()
3993 static void cm_recv_handler(struct ib_mad_agent *mad_agent, in cm_recv_handler()
4450 struct ib_mad_agent *cur_mad_agent; in cm_remove_one()
Dmad_rmpp.c156 static struct ib_mad_send_buf *alloc_response_msg(struct ib_mad_agent *agent, in alloc_response_msg()
/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_mad.c169 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; in forward_trap()
288 static void send_handler(struct ib_mad_agent *agent, in send_handler()
296 struct ib_mad_agent *agent; in mthca_create_agents()
338 struct ib_mad_agent *agent; in mthca_free_agents()
Dmthca_dev.h356 struct ib_mad_agent *send_agent[MTHCA_MAX_PORTS][2];
/Linux-v4.19/drivers/infiniband/ulp/srpt/
Dib_srpt.h369 struct ib_mad_agent *mad_agent;
Dib_srpt.c462 static void srpt_mad_send_handler(struct ib_mad_agent *mad_agent, in srpt_mad_send_handler()
475 static void srpt_mad_recv_handler(struct ib_mad_agent *mad_agent, in srpt_mad_recv_handler()
/Linux-v4.19/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema.c106 struct ib_mad_agent *mad_agent;
606 static void vema_send(struct ib_mad_agent *mad_agent, in vema_send()
623 static void vema_recv(struct ib_mad_agent *mad_agent, in vema_recv()
/Linux-v4.19/drivers/infiniband/hw/mlx4/
Dmad.c387 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; in forward_trap()
1021 static void send_handler(struct ib_mad_agent *agent, in send_handler()
1031 struct ib_mad_agent *agent; in mlx4_ib_mad_init()
1067 struct ib_mad_agent *agent; in mlx4_ib_mad_cleanup()
Dmlx4_ib.h595 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-v4.19/drivers/infiniband/hw/qib/
Dqib_mad.c67 struct ib_mad_agent *agent; in qib_send_trap()
Dqib_iba7322.c5439 struct ib_mad_agent *agent; in try_7322_ipg()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dmad.c316 struct ib_mad_agent *agent; in send_trap()