Home
last modified time | relevance | path

Searched refs:ib_smp (Results 1 – 18 of 18) sorted by relevance

/linux-4.1.27/drivers/infiniband/core/
Dsmi.h54 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, u8 node_type,
56 int smi_get_fwd_port(struct ib_smp *smp);
57 extern enum smi_forward_action smi_check_forward_dr_smp(struct ib_smp *smp);
58 extern enum smi_action smi_handle_dr_smp_send(struct ib_smp *smp,
65 static inline enum smi_action smi_check_local_smp(struct ib_smp *smp, in smi_check_local_smp()
80 static inline enum smi_action smi_check_local_returning_smp(struct ib_smp *smp, in smi_check_local_returning_smp()
Dsmi.c46 enum smi_action smi_handle_dr_smp_send(struct ib_smp *smp, in smi_handle_dr_smp_send()
131 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, u8 node_type, in smi_handle_dr_smp_recv()
212 enum smi_forward_action smi_check_forward_dr_smp(struct ib_smp *smp) in smi_check_forward_dr_smp()
249 int smi_get_fwd_port(struct ib_smp *smp) in smi_get_fwd_port()
Dmad_priv.h82 struct ib_smp smp;
Dmad.c729 struct ib_smp *smp = mad_send_wr->send_buf.mad; in handle_outgoing_dr_smp()
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_mad.c40 static int reply(struct ib_smp *smp) in reply()
52 static int reply_failure(struct ib_smp *smp) in reply_failure()
68 struct ib_smp *smp; in qib_send_trap()
168 static void qib_bad_mkey(struct qib_ibport *ibp, struct ib_smp *smp) in qib_bad_mkey()
265 static int subn_get_nodedescription(struct ib_smp *smp, in subn_get_nodedescription()
276 static int subn_get_nodeinfo(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_nodeinfo()
312 static int subn_get_guidinfo(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_guidinfo()
405 static int check_mkey(struct qib_ibport *ibp, struct ib_smp *smp, int mad_flags) in check_mkey()
451 static int subn_get_portinfo(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_portinfo()
593 static int subn_get_pkeytable(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_pkeytable()
[all …]
Dqib_ud.c497 struct ib_smp *smp; in qib_ud_rcv()
502 smp = (struct ib_smp *) data; in qib_ud_rcv()
Dqib_iba7322.c5496 struct ib_smp *smp; in try_7322_ipg()
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_mad.c46 static int reply(struct ib_smp *smp) in reply()
58 static int recv_subn_get_nodedescription(struct ib_smp *smp, in recv_subn_get_nodedescription()
84 static int recv_subn_get_nodeinfo(struct ib_smp *smp, in recv_subn_get_nodeinfo()
122 static int recv_subn_get_guidinfo(struct ib_smp *smp, in recv_subn_get_guidinfo()
235 static int recv_subn_get_portinfo(struct ib_smp *smp, in recv_subn_get_portinfo()
360 static int recv_subn_get_pkeytable(struct ib_smp *smp, in recv_subn_get_pkeytable()
384 static int recv_subn_set_guidinfo(struct ib_smp *smp, in recv_subn_set_guidinfo()
417 static int recv_subn_set_portinfo(struct ib_smp *smp, in recv_subn_set_portinfo()
781 static int recv_subn_set_pkeytable(struct ib_smp *smp, in recv_subn_set_pkeytable()
819 return reply((struct ib_smp *) pmp); in recv_pma_get_classportinfo()
[all …]
Dipath_ud.c467 struct ib_smp *smp = (struct ib_smp *) data; in ipath_ud_rcv()
/linux-4.1.27/include/rdma/
Dib_smi.h45 struct ib_smp { struct
123 ib_get_smp_direction(struct ib_smp *smp) in ib_get_smp_direction()
/linux-4.1.27/drivers/infiniband/hw/mlx5/
Dmad.c114 struct ib_smp *in_mad = NULL; in mlx5_query_ext_port_caps()
115 struct ib_smp *out_mad = NULL; in mlx5_query_ext_port_caps()
Dmain.c69 struct ib_smp *in_mad = NULL; in mlx5_ib_query_device()
70 struct ib_smp *out_mad = NULL; in mlx5_ib_query_device()
175 struct ib_smp *in_mad = NULL; in mlx5_ib_query_port()
176 struct ib_smp *out_mad = NULL; in mlx5_ib_query_port()
268 struct ib_smp *in_mad = NULL; in mlx5_ib_query_gid()
269 struct ib_smp *out_mad = NULL; in mlx5_ib_query_gid()
306 struct ib_smp *in_mad = NULL; in mlx5_ib_query_pkey()
307 struct ib_smp *out_mad = NULL; in mlx5_ib_query_pkey()
734 struct ib_smp *in_mad = NULL; in init_node_data()
735 struct ib_smp *out_mad = NULL; in init_node_data()
Dmlx5_ib.h649 static inline void init_query_mad(struct ib_smp *mad) in init_query_mad()
/linux-4.1.27/drivers/infiniband/hw/mthca/
Dmthca_provider.c52 static void init_query_mad(struct ib_smp *mad) in init_query_mad()
63 struct ib_smp *in_mad = NULL; in mthca_query_device()
64 struct ib_smp *out_mad = NULL; in mthca_query_device()
136 struct ib_smp *in_mad = NULL; in mthca_query_port()
137 struct ib_smp *out_mad = NULL; in mthca_query_port()
231 struct ib_smp *in_mad = NULL; in mthca_query_pkey()
232 struct ib_smp *out_mad = NULL; in mthca_query_pkey()
260 struct ib_smp *in_mad = NULL; in mthca_query_gid()
261 struct ib_smp *out_mad = NULL; in mthca_query_gid()
1211 struct ib_smp *in_mad = NULL; in mthca_init_node_data()
[all …]
Dmthca_mad.c117 (struct ib_port_info *) ((struct ib_smp *) mad)->data; in smp_snoop()
156 memcpy(((struct ib_smp *) mad)->data, dev->node_desc, 64); in node_desc_override()
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dmad.c239 pinfo = (struct ib_port_info *) ((struct ib_smp *) mad)->data; in smp_snoop()
263 bn = be32_to_cpu(((struct ib_smp *)mad)->attr_mod) & 0xFFFF; in smp_snoop()
264 base = (__be16 *) &(((struct ib_smp *)mad)->data[0]); in smp_snoop()
297 bn = be32_to_cpu(((struct ib_smp *)mad)->attr_mod); in smp_snoop()
299 (u8 *)(&((struct ib_smp *)mad)->data)); in smp_snoop()
301 (u8 *)(&((struct ib_smp *)mad)->data)); in smp_snoop()
354 memcpy(((struct ib_smp *) mad)->data, dev->node_desc, 64); in node_desc_override()
981 struct ib_smp *in_mad = NULL; in handle_slaves_guid_change()
982 struct ib_smp *out_mad = NULL; in handle_slaves_guid_change()
1019 (u8 *)(&((struct ib_smp *)out_mad)->data)); in handle_slaves_guid_change()
[all …]
Dmain.c88 static void init_query_mad(struct ib_smp *mad) in init_query_mad()
138 struct ib_smp *in_mad = NULL; in mlx4_ib_query_device()
139 struct ib_smp *out_mad = NULL; in mlx4_ib_query_device()
252 struct ib_smp *in_mad = NULL; in ib_link_query_port()
253 struct ib_smp *out_mad = NULL; in ib_link_query_port()
426 struct ib_smp *in_mad = NULL; in __mlx4_ib_query_gid()
427 struct ib_smp *out_mad = NULL; in __mlx4_ib_query_gid()
501 struct ib_smp *in_mad = NULL; in __mlx4_ib_query_pkey()
502 struct ib_smp *out_mad = NULL; in __mlx4_ib_query_pkey()
1409 struct ib_smp *in_mad = NULL; in init_node_data()
[all …]
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c829 struct ib_smp *in_mad = (struct ib_smp *)(inbox->buf); in query_pkey_block()
830 struct ib_smp *out_mad = (struct ib_smp *)(outbox->buf); in query_pkey_block()
883 struct ib_smp *smp = inbox->buf; in mlx4_MAD_IFC_wrapper()
892 struct ib_smp *outsmp = outbox->buf; in mlx4_MAD_IFC_wrapper()