Home
last modified time | relevance | path

Searched refs:out_mad (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_mad.c59 const struct ib_mad *in_mad, struct ib_mad *out_mad) in process_mad() argument
94 port_num, in_wc, in_grh, in_mad, out_mad); in process_mad()
100 out_mad->mad_hdr.status |= cpu_to_be16(1 << 15); in process_mad()
182 const struct ib_mad *in_mad, struct ib_mad *out_mad) in process_pma_cmd() argument
193 memcpy((out_mad->data + 40), &cpi, sizeof(cpi)); in process_pma_cmd()
199 (struct ib_pma_portcounters_ext *)(out_mad->data + 40); in process_pma_cmd()
212 (struct ib_pma_portcounters *)(out_mad->data + 40); in process_pma_cmd()
241 struct ib_mad *out_mad = (struct ib_mad *)out; in mlx5_ib_process_mad() local
244 *out_mad_size != sizeof(*out_mad))) in mlx5_ib_process_mad()
247 memset(out_mad in mlx5_ib_process_mad()
262 struct ib_smp *out_mad = NULL; mlx5_query_ext_port_caps() local
289 mlx5_query_mad_ifc_smp_attr_node_info(struct ib_device * ibdev,struct ib_smp * out_mad) mlx5_query_mad_ifc_smp_attr_node_info() argument
311 struct ib_smp *out_mad = NULL; mlx5_query_mad_ifc_system_image_guid() local
333 struct ib_smp *out_mad = NULL; mlx5_query_mad_ifc_max_pkeys() local
355 struct ib_smp *out_mad = NULL; mlx5_query_mad_ifc_vendor_id() local
377 struct ib_smp *out_mad = NULL; mlx5_query_mad_ifc_node_desc() local
402 struct ib_smp *out_mad = NULL; mlx5_query_mad_ifc_node_guid() local
428 struct ib_smp *out_mad = NULL; mlx5_query_mad_ifc_pkey() local
457 struct ib_smp *out_mad = NULL; mlx5_query_mad_ifc_gids() local
499 struct ib_smp *out_mad = NULL; mlx5_query_mad_ifc_port() local
[all...]
H A Dmlx5_ib.h967 struct ib_smp *out_mad);
/freebsd/sys/dev/mthca/
H A Dmthca_provider.c64 struct ib_smp *out_mad = NULL; in mthca_query_device() local
72 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_device()
73 if (!in_mad || !out_mad) in mthca_query_device()
84 1, NULL, NULL, in_mad, out_mad); in mthca_query_device()
89 props->vendor_id = be32_to_cpup((__be32 *) (out_mad->data + 36)) & in mthca_query_device()
91 props->vendor_part_id = be16_to_cpup((__be16 *) (out_mad->data + 30)); in mthca_query_device()
92 props->hw_ver = be32_to_cpup((__be32 *) (out_mad->data + 32)); in mthca_query_device()
93 memcpy(&props->sys_image_guid, out_mad->data + 4, 8); in mthca_query_device()
133 kfree(out_mad); in mthca_query_device()
141 struct ib_smp *out_mad = NULL; mthca_query_port() local
237 struct ib_smp *out_mad = NULL; mthca_query_pkey() local
266 struct ib_smp *out_mad = NULL; mthca_query_gid() local
1072 struct ib_smp *out_mad = NULL; mthca_init_node_data() local
[all...]
H A Dmthca_mad.c212 struct ib_mad *out_mad = (struct ib_mad *)out; in mthca_process_mad()
215 *out_mad_size != sizeof(*out_mad))) in mthca_process_mad()
264 port_num, in_wc, in_grh, in_mad, out_mad); in mthca_process_mad()
272 if (!out_mad->mad_hdr.status) { in mthca_process_mad()
274 node_desc_override(ibdev, out_mad); in mthca_process_mad()
279 out_mad->mad_hdr.status |= cpu_to_be16(1 << 15); in mthca_process_mad()
211 struct ib_mad *out_mad = (struct ib_mad *)out; mthca_process_mad() local
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c430 struct ib_smp *out_mad = NULL; in mlx4_ib_gid_index_to_real_index()
455 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mlx4_ib_query_device()
456 if (!in_mad || !out_mad) in mlx4_ib_query_device()
463 1, NULL, NULL, in_mad, out_mad); in mlx4_ib_query_device()
512 props->vendor_id = be32_to_cpup((__be32 *) (out_mad->data + 36)) & in mlx4_ib_query_device()
515 props->hw_ver = be32_to_cpup((__be32 *) (out_mad->data + 32)); in mlx4_ib_query_device()
516 memcpy(&props->sys_image_guid, out_mad->data + 4, 8); in mlx4_ib_query_device()
564 kfree(out_mad); in mlx4_ib_query_device()
582 struct ib_smp *out_mad in mlx4_ib_query_device()
444 struct ib_smp *out_mad = NULL; mlx4_ib_query_device() local
596 struct ib_smp *out_mad = NULL; ib_link_query_port() local
773 struct ib_smp *out_mad = NULL; __mlx4_ib_query_gid() local
852 struct ib_smp *out_mad = NULL; mlx4_ib_query_sl2vl() local
912 struct ib_smp *out_mad = NULL; __mlx4_ib_query_pkey() local
1931 struct ib_smp *out_mad = NULL; init_node_data() local
[all...]
H A Dmlx4_ib_mad.c791 const struct ib_mad *in_mad, struct ib_mad *out_mad) in ib_process_mad()
856 port_num, in_wc, in_grh, in_mad, out_mad); in edit_counter()
860 if (!out_mad->mad_hdr.status) { in edit_counter()
864 node_desc_override(ibdev, out_mad); in edit_counter()
869 out_mad->mad_hdr.status |= cpu_to_be16(1 << 15); in edit_counter()
915 static int iboe_process_mad_port_info(void *out_mad) in iboe_process_mad()
920 memcpy(out_mad, &cpi, sizeof(cpi)); in iboe_process_mad()
926 const struct ib_mad *in_mad, struct ib_mad *out_mad) in iboe_process_mad()
937 return iboe_process_mad_port_info((void *)(out_mad->data + 40)); in iboe_process_mad()
956 memset(out_mad in mlx4_ib_process_mad()
766 ib_process_mad(struct ib_device * ibdev,int mad_flags,u8 port_num,const struct ib_wc * in_wc,const struct ib_grh * in_grh,const struct ib_mad * in_mad,struct ib_mad * out_mad) ib_process_mad() argument
890 iboe_process_mad_port_info(void * out_mad) iboe_process_mad_port_info() argument
901 iboe_process_mad(struct ib_device * ibdev,int mad_flags,u8 port_num,const struct ib_wc * in_wc,const struct ib_grh * in_grh,const struct ib_mad * in_mad,struct ib_mad * out_mad) iboe_process_mad() argument
955 struct ib_mad *out_mad = (struct ib_mad *)out; mlx4_ib_process_mad() local
1100 struct ib_smp *out_mad = NULL; handle_slaves_guid_change() local
[all...]
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_sysfs.c482 struct ib_mad *out_mad; in get_perf_mad()
483 size_t mad_size = sizeof(*out_mad); in get_perf_mad()
491 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in get_perf_mad()
492 if (!in_mad || !out_mad) { in get_perf_mad()
509 (struct ib_mad_hdr *)out_mad, &mad_size, in get_perf_mad()
516 memcpy(data, out_mad->data + offset, size); in show_pma_counter()
520 kfree(out_mad); in show_pma_counter()
470 struct ib_mad *out_mad; get_perf_mad() local
/freebsd/sys/dev/qlnx/qlnxr/
H A Dqlnxr_verbs.h130 struct ib_mad_hdr *out_mad,
H A Dqlnxr_verbs.c5547 struct ib_mad_hdr *out_mad, in qlnxr_destroy_ah()
5582 qlnxr_process_mad(struct ib_device * ibdev,int process_mad_flags,u8 port_num,const struct ib_wc * in_wc,const struct ib_grh * in_grh,const struct ib_mad_hdr * mad_hdr,size_t in_mad_size,struct ib_mad_hdr * out_mad,size_t * out_mad_size,u16 * out_mad_pkey_index) qlnxr_process_mad() argument
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dib_verbs.h368 struct ib_mad_hdr *out_mad, size_t *out_mad_size,
H A Dib_verbs.c5477 struct ib_mad_hdr *out_mad, size_t *out_mad_size, in bnxt_re_dealloc_ucontext()
5574 bnxt_re_process_mad(struct ib_device * ibdev,int mad_flags,u8 port_num,const struct ib_wc * wc,const struct ib_grh * grh,const struct ib_mad_hdr * in_mad,size_t in_mad_size,struct ib_mad_hdr * out_mad,size_t * out_mad_size,u16 * out_mad_pkey_index) bnxt_re_process_mad() argument
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dprovider.c85 struct ib_mad_hdr *out_mad, in c4iw_process_mad() argument
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_cmd.c852 struct ib_smp *out_mad = (struct ib_smp *)(outbox->buf); in query_pkey_block() local
868 pkey[i] = be16_to_cpu(((__be16 *) out_mad->data)[i]); in query_pkey_block()
/freebsd/sys/ofed/include/rdma/
H A Dib_verbs.h2353 struct ib_mad_hdr *out_mad,