Home
last modified time | relevance | path

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

/freebsd/sys/ofed/drivers/infiniband/core/
H A Dsmi.h55 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, bool is_switch,
57 int smi_get_fwd_port(struct ib_smp *smp);
58 extern enum smi_forward_action smi_check_forward_dr_smp(struct ib_smp *smp);
59 extern enum smi_action smi_handle_dr_smp_send(struct ib_smp *smp,
66 static inline enum smi_action smi_check_local_smp(struct ib_smp *smp, in smi_check_local_smp()
81 static inline enum smi_action smi_check_local_returning_smp(struct ib_smp *smp, in smi_check_local_returning_smp()
H A Dib_smi.c131 enum smi_action smi_handle_dr_smp_send(struct ib_smp *smp, in smi_handle_dr_smp_send()
242 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, bool is_switch, in smi_handle_dr_smp_recv()
304 enum smi_forward_action smi_check_forward_dr_smp(struct ib_smp *smp) in smi_check_forward_dr_smp()
326 int smi_get_fwd_port(struct ib_smp *smp) in smi_get_fwd_port()
H A Dib_mad.c752 struct ib_smp *smp = mad_send_wr->send_buf.mad; in handle_outgoing_dr_smp()
2022 struct ib_smp *smp = (struct ib_smp *)recv->mad; in handle_ib_smi()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_mad.c261 struct ib_smp *in_mad = NULL; in mlx5_query_ext_port_caps()
262 struct ib_smp *out_mad = NULL; in mlx5_query_ext_port_caps()
289 struct ib_smp *out_mad) in mlx5_query_mad_ifc_smp_attr_node_info()
291 struct ib_smp *in_mad = NULL; in mlx5_query_mad_ifc_smp_attr_node_info()
311 struct ib_smp *out_mad = NULL; in mlx5_query_mad_ifc_system_image_guid()
333 struct ib_smp *out_mad = NULL; in mlx5_query_mad_ifc_max_pkeys()
355 struct ib_smp *out_mad = NULL; in mlx5_query_mad_ifc_vendor_id()
376 struct ib_smp *in_mad = NULL; in mlx5_query_mad_ifc_node_desc()
377 struct ib_smp *out_mad = NULL; in mlx5_query_mad_ifc_node_desc()
401 struct ib_smp *in_mad = NULL; in mlx5_query_mad_ifc_node_guid()
[all …]
H A Dmlx5_ib.h967 struct ib_smp *out_mad);
1099 static inline void init_query_mad(struct ib_smp *mad) in init_query_mad()
/freebsd/sys/ofed/include/rdma/
H A Dib_smi.h47 struct ib_smp { struct
146 ib_get_smp_direction(const struct ib_smp *smp) in ib_get_smp_direction()
H A Dopa_smi.h128 return ib_get_smp_direction((const struct ib_smp *)smp); in opa_get_smp_direction()
/freebsd/sys/dev/mthca/
H A 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()
140 struct ib_smp *in_mad = NULL; in mthca_query_port()
141 struct ib_smp *out_mad = NULL; in mthca_query_port()
236 struct ib_smp *in_mad = NULL; in mthca_query_pkey()
237 struct ib_smp *out_mad = NULL; in mthca_query_pkey()
265 struct ib_smp *in_mad = NULL; in mthca_query_gid()
266 struct ib_smp *out_mad = NULL; in mthca_query_gid()
1071 struct ib_smp *in_mad = NULL; in mthca_init_node_data()
[all …]
H A 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, in node_desc_override()
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_mad.c235 pinfo = (struct ib_port_info *) ((struct ib_smp *) mad)->data; in smp_snoop()
261 bn = be32_to_cpu(((struct ib_smp *)mad)->attr_mod) & 0xFFFF; in smp_snoop()
262 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()
317 sl2vl64.sl8[jj] = ((struct ib_smp *)mad)->data[jj]; in smp_snoop()
373 memcpy(((struct ib_smp *) mad)->data, dev->node_desc, in node_desc_override()
1099 struct ib_smp *in_mad = NULL; in handle_slaves_guid_change()
1100 struct ib_smp *out_mad = NULL; in handle_slaves_guid_change()
[all …]
H A Dmlx4_ib_main.c90 static void init_query_mad(struct ib_smp *mad) in init_query_mad()
443 struct ib_smp *in_mad = NULL; in mlx4_ib_query_device()
444 struct ib_smp *out_mad = NULL; in mlx4_ib_query_device()
595 struct ib_smp *in_mad = NULL; in ib_link_query_port()
596 struct ib_smp *out_mad = NULL; in ib_link_query_port()
772 struct ib_smp *in_mad = NULL; in __mlx4_ib_query_gid()
773 struct ib_smp *out_mad = NULL; in __mlx4_ib_query_gid()
851 struct ib_smp *in_mad = NULL; in mlx4_ib_query_sl2vl()
852 struct ib_smp *out_mad = NULL; in mlx4_ib_query_sl2vl()
880 sl2vl64.sl8[jj] = ((struct ib_smp *)out_mad)->data[jj]; in mlx4_ib_query_sl2vl()
[all …]
/freebsd/sys/ofed/drivers/infiniband/util/
H A Dmadeye.c355 static void print_smp(struct ib_smp *smp) in print_smp()
425 print_smp((struct ib_smp *)&mad_recv_wc->recv_buf.mad->mad_hdr); in recv_smi_handler()
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_cmd.c851 struct ib_smp *in_mad = (struct ib_smp *)(inbox->buf); in query_pkey_block()
852 struct ib_smp *out_mad = (struct ib_smp *)(outbox->buf); in query_pkey_block()
905 struct ib_smp *smp = inbox->buf; in mlx4_MAD_IFC_wrapper()
914 struct ib_smp *outsmp = outbox->buf; in mlx4_MAD_IFC_wrapper()