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->data, 0, sizeof(out_mad->data)); in mlx5_ib_process_mad()
[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; in mthca_query_port() local
[all …]
H A Dmthca_mad.c211 struct ib_mad *out_mad = (struct ib_mad *)out; in mthca_process_mad() local
214 *out_mad_size != sizeof(*out_mad))) in mthca_process_mad()
263 port_num, in_wc, in_grh, in_mad, out_mad); in mthca_process_mad()
271 if (!out_mad->mad_hdr.status) { in mthca_process_mad()
273 node_desc_override(ibdev, out_mad); in mthca_process_mad()
278 out_mad->mad_hdr.status |= cpu_to_be16(1 << 15); in mthca_process_mad()
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c444 struct ib_smp *out_mad = NULL; in mlx4_ib_query_device() local
469 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mlx4_ib_query_device()
470 if (!in_mad || !out_mad) in mlx4_ib_query_device()
477 1, NULL, NULL, in_mad, out_mad); in mlx4_ib_query_device()
526 props->vendor_id = be32_to_cpup((__be32 *) (out_mad->data + 36)) & in mlx4_ib_query_device()
529 props->hw_ver = be32_to_cpup((__be32 *) (out_mad->data + 32)); in mlx4_ib_query_device()
530 memcpy(&props->sys_image_guid, out_mad->data + 4, 8); in mlx4_ib_query_device()
578 kfree(out_mad); in mlx4_ib_query_device()
596 struct ib_smp *out_mad = NULL; in ib_link_query_port() local
602 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in ib_link_query_port()
[all …]
H A Dmlx4_ib_mad.c766 const struct ib_mad *in_mad, struct ib_mad *out_mad) in ib_process_mad() argument
831 port_num, in_wc, in_grh, in_mad, out_mad); in ib_process_mad()
835 if (!out_mad->mad_hdr.status) { in ib_process_mad()
839 node_desc_override(ibdev, out_mad); in ib_process_mad()
844 out_mad->mad_hdr.status |= cpu_to_be16(1 << 15); in ib_process_mad()
890 static int iboe_process_mad_port_info(void *out_mad) in iboe_process_mad_port_info() argument
895 memcpy(out_mad, &cpi, sizeof(cpi)); in iboe_process_mad_port_info()
901 const struct ib_mad *in_mad, struct ib_mad *out_mad) in iboe_process_mad() argument
912 return iboe_process_mad_port_info((void *)(out_mad->data + 40)); in iboe_process_mad()
931 memset(out_mad->data, 0, sizeof out_mad->data); in iboe_process_mad()
[all …]
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_sysfs.c470 struct ib_mad *out_mad; in get_perf_mad() local
471 size_t mad_size = sizeof(*out_mad); in get_perf_mad()
479 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in get_perf_mad()
480 if (!in_mad || !out_mad) { in get_perf_mad()
497 (struct ib_mad_hdr *)out_mad, &mad_size, in get_perf_mad()
504 memcpy(data, out_mad->data + offset, size); in get_perf_mad()
508 kfree(out_mad); in get_perf_mad()
/freebsd/sys/dev/qlnx/qlnxr/
H A Dqlnxr_verbs.h135 struct ib_mad_hdr *out_mad,
H A Dqlnxr_verbs.c5582 struct ib_mad_hdr *out_mad, in qlnxr_process_mad() argument
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dib_verbs.h351 struct ib_mad_hdr *out_mad, size_t *out_mad_size,
H A Dib_verbs.c5490 struct ib_mad_hdr *out_mad, size_t *out_mad_size, in 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.h2334 struct ib_mad_hdr *out_mad,