Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A Dsmi.h54 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, bool is_switch,
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()
H A Dsmi.c129 enum smi_action smi_handle_dr_smp_send(struct ib_smp *smp, in smi_handle_dr_smp_send()
240 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, bool is_switch, in smi_handle_dr_smp_recv()
302 enum smi_forward_action smi_check_forward_dr_smp(struct ib_smp *smp) in smi_check_forward_dr_smp()
324 int smi_get_fwd_port(struct ib_smp *smp) in smi_get_fwd_port()
H A Dmad.c603 struct ib_smp *smp = mad_send_wr->send_buf.mad; in handle_outgoing_dr_smp()
1875 struct ib_smp *smp = (struct ib_smp *)recv->mad; in handle_ib_smi()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx5/
H A Dmad.c290 struct ib_smp *in_mad = NULL; in mlx5_query_ext_port_caps()
291 struct ib_smp *out_mad = NULL; in mlx5_query_ext_port_caps()
318 struct ib_smp *out_mad) in mlx5_query_mad_ifc_smp_attr_node_info()
320 struct ib_smp *in_mad = NULL; in mlx5_query_mad_ifc_smp_attr_node_info()
340 struct ib_smp *out_mad = NULL; in mlx5_query_mad_ifc_system_image_guid()
362 struct ib_smp *out_mad = NULL; in mlx5_query_mad_ifc_max_pkeys()
384 struct ib_smp *out_mad = NULL; in mlx5_query_mad_ifc_vendor_id()
405 struct ib_smp *in_mad = NULL; in mlx5_query_mad_ifc_node_desc()
406 struct ib_smp *out_mad = NULL; in mlx5_query_mad_ifc_node_desc()
430 struct ib_smp *in_mad = NULL; in mlx5_query_mad_ifc_node_guid()
[all …]
H A Dmlx5_ib.h1216 struct ib_smp *out_mad);
1372 static inline void init_query_mad(struct ib_smp *mad) in init_query_mad()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/qib/
H A 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()
167 static void qib_bad_mkey(struct qib_ibport *ibp, struct ib_smp *smp) in qib_bad_mkey()
267 static int subn_get_nodedescription(struct ib_smp *smp, in subn_get_nodedescription()
278 static int subn_get_nodeinfo(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_nodeinfo()
313 static int subn_get_guidinfo(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_guidinfo()
406 static int check_mkey(struct qib_ibport *ibp, struct ib_smp *smp, int mad_flags) in check_mkey()
454 static int subn_get_portinfo(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_portinfo()
596 static int subn_get_pkeytable(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_pkeytable()
[all …]
H A Dqib_ud.c491 struct ib_smp *smp; in qib_ud_rcv()
496 smp = (struct ib_smp *) data; in qib_ud_rcv()
H A Dqib_iba7322.c5434 struct ib_smp *smp; in try_7322_ipg()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c53 static void init_query_mad(struct ib_smp *mad) in init_query_mad()
64 struct ib_smp *in_mad = NULL; in mthca_query_device()
65 struct ib_smp *out_mad = NULL; in mthca_query_device()
132 struct ib_smp *in_mad = NULL; in mthca_query_port()
133 struct ib_smp *out_mad = NULL; in mthca_query_port()
228 struct ib_smp *in_mad = NULL; in mthca_query_pkey()
229 struct ib_smp *out_mad = NULL; in mthca_query_pkey()
257 struct ib_smp *in_mad = NULL; in mthca_query_gid()
258 struct ib_smp *out_mad = NULL; in mthca_query_gid()
1013 struct ib_smp *in_mad = NULL; in mthca_init_node_data()
[all …]
H A Dmthca_mad.c119 (struct ib_port_info *) ((struct ib_smp *) mad)->data; in smp_snoop()
158 memcpy(((struct ib_smp *) mad)->data, dev->node_desc, in node_desc_override()
/OK3568_Linux_fs/kernel/include/rdma/
H A Dib_smi.h18 struct ib_smp { struct
117 ib_get_smp_direction(struct ib_smp *smp) in ib_get_smp_direction()
H A Dopa_smi.h97 return ib_get_smp_direction((struct ib_smp *)smp); in opa_get_smp_direction()
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dib_mad.h345 TP_PROTO(struct ib_smp *smp),
382 TP_PROTO(struct ib_smp *smp),
385 TP_PROTO(struct ib_smp *smp),
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx4/
H A Dmad.c238 pinfo = (struct ib_port_info *) ((struct ib_smp *) mad)->data; in smp_snoop()
264 bn = be32_to_cpu(((struct ib_smp *)mad)->attr_mod) & 0xFFFF; in smp_snoop()
265 base = (__be16 *) &(((struct ib_smp *)mad)->data[0]); in smp_snoop()
300 bn = be32_to_cpu(((struct ib_smp *)mad)->attr_mod); in smp_snoop()
302 (u8 *)(&((struct ib_smp *)mad)->data)); in smp_snoop()
304 (u8 *)(&((struct ib_smp *)mad)->data)); in smp_snoop()
320 sl2vl64.sl8[jj] = ((struct ib_smp *)mad)->data[jj]; in smp_snoop()
377 memcpy(((struct ib_smp *) mad)->data, dev->node_desc, in node_desc_override()
1127 struct ib_smp *in_mad = NULL; in handle_slaves_guid_change()
1128 struct ib_smp *out_mad = NULL; in handle_slaves_guid_change()
[all …]
H A Dmain.c88 static void init_query_mad(struct ib_smp *mad) in init_query_mad()
442 struct ib_smp *in_mad = NULL; in mlx4_ib_query_device()
443 struct ib_smp *out_mad = NULL; in mlx4_ib_query_device()
660 struct ib_smp *in_mad = NULL; in ib_link_query_port()
661 struct ib_smp *out_mad = NULL; in ib_link_query_port()
838 struct ib_smp *in_mad = NULL; in __mlx4_ib_query_gid()
839 struct ib_smp *out_mad = NULL; in __mlx4_ib_query_gid()
902 struct ib_smp *in_mad = NULL; in mlx4_ib_query_sl2vl()
903 struct ib_smp *out_mad = NULL; in mlx4_ib_query_sl2vl()
931 sl2vl64.sl8[jj] = ((struct ib_smp *)out_mad)->data[jj]; in mlx4_ib_query_sl2vl()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A Dcmd.c843 struct ib_smp *in_mad = (struct ib_smp *)(inbox->buf); in query_pkey_block()
844 struct ib_smp *out_mad = (struct ib_smp *)(outbox->buf); in query_pkey_block()
897 struct ib_smp *smp = inbox->buf; in mlx4_MAD_IFC_wrapper()
906 struct ib_smp *outsmp = outbox->buf; in mlx4_MAD_IFC_wrapper()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A Dmad.c643 static int subn_get_nodeinfo(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_nodeinfo()
4620 struct ib_smp *smp = (struct ib_smp *)out_mad; in process_subn()