Searched refs:out_mad (Results 1 - 10 of 10) sorted by relevance

/freebsd-12-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_mad.c58 const struct ib_mad *in_mad, struct ib_mad *out_mad)
93 port_num, in_wc, in_grh, in_mad, out_mad);
99 out_mad->mad_hdr.status |= cpu_to_be16(1 << 15);
181 const struct ib_mad *in_mad, struct ib_mad *out_mad)
192 memcpy((out_mad->data + 40), &cpi, sizeof(cpi));
198 (struct ib_pma_portcounters_ext *)(out_mad->data + 40);
211 (struct ib_pma_portcounters *)(out_mad->data + 40);
240 struct ib_mad *out_mad = (struct ib_mad *)out; local
243 *out_mad_size != sizeof(*out_mad)))
246 memset(out_mad
56 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) argument
180 process_pma_cmd(struct ib_device *ibdev, u8 port_num, const struct ib_mad *in_mad, struct ib_mad *out_mad) argument
261 struct ib_smp *out_mad = NULL; local
287 mlx5_query_mad_ifc_smp_attr_node_info(struct ib_device *ibdev, struct ib_smp *out_mad) argument
310 struct ib_smp *out_mad = NULL; local
332 struct ib_smp *out_mad = NULL; local
354 struct ib_smp *out_mad = NULL; local
376 struct ib_smp *out_mad = NULL; local
401 struct ib_smp *out_mad = NULL; local
427 struct ib_smp *out_mad = NULL; local
456 struct ib_smp *out_mad = NULL; local
498 struct ib_smp *out_mad = NULL; local
[all...]
H A Dmlx5_ib.h863 struct ib_smp *out_mad);
/freebsd-12-stable/sys/dev/mthca/
H A Dmthca_provider.c63 struct ib_smp *out_mad = NULL; local
71 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL);
72 if (!in_mad || !out_mad)
83 1, NULL, NULL, in_mad, out_mad);
88 props->vendor_id = be32_to_cpup((__be32 *) (out_mad->data + 36)) &
90 props->vendor_part_id = be16_to_cpup((__be16 *) (out_mad->data + 30));
91 props->hw_ver = be32_to_cpup((__be32 *) (out_mad->data + 32));
92 memcpy(&props->sys_image_guid, out_mad->data + 4, 8);
132 kfree(out_mad);
140 struct ib_smp *out_mad = NULL; local
236 struct ib_smp *out_mad = NULL; local
265 struct ib_smp *out_mad = NULL; local
1126 struct ib_smp *out_mad = NULL; local
[all...]
H A Dmthca_mad.c211 struct ib_mad *out_mad = (struct ib_mad *)out; local
214 *out_mad_size != sizeof(*out_mad)))
263 port_num, in_wc, in_grh, in_mad, out_mad);
271 if (!out_mad->mad_hdr.status) {
273 node_desc_override(ibdev, out_mad);
278 out_mad->mad_hdr.status |= cpu_to_be16(1 << 15);
/freebsd-12-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c445 struct ib_smp *out_mad = NULL; local
470 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL);
471 if (!in_mad || !out_mad)
478 1, NULL, NULL, in_mad, out_mad);
527 props->vendor_id = be32_to_cpup((__be32 *) (out_mad->data + 36)) &
530 props->hw_ver = be32_to_cpup((__be32 *) (out_mad->data + 32));
531 memcpy(&props->sys_image_guid, out_mad->data + 4, 8);
582 kfree(out_mad);
600 struct ib_smp *out_mad local
775 struct ib_smp *out_mad = NULL; local
854 struct ib_smp *out_mad = NULL; local
914 struct ib_smp *out_mad = NULL; local
2023 struct ib_smp *out_mad = NULL; local
[all...]
H A Dmlx4_ib_mad.c766 const struct ib_mad *in_mad, struct ib_mad *out_mad)
831 port_num, in_wc, in_grh, in_mad, out_mad);
835 if (!out_mad->mad_hdr.status) {
839 node_desc_override(ibdev, out_mad);
844 out_mad->mad_hdr.status |= cpu_to_be16(1 << 15);
890 static int iboe_process_mad_port_info(void *out_mad) argument
895 memcpy(out_mad, &cpi, sizeof(cpi));
901 const struct ib_mad *in_mad, struct ib_mad *out_mad)
912 return iboe_process_mad_port_info((void *)(out_mad->data + 40));
931 memset(out_mad
764 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) argument
899 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) argument
955 struct ib_mad *out_mad = (struct ib_mad *)out; local
1100 struct ib_smp *out_mad = NULL; local
[all...]
/freebsd-12-stable/sys/ofed/drivers/infiniband/core/
H A Dib_sysfs.c443 struct ib_mad *out_mad; local
444 size_t mad_size = sizeof(*out_mad);
452 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL);
453 if (!in_mad || !out_mad) {
470 (struct ib_mad_hdr *)out_mad, &mad_size,
477 memcpy(data, out_mad->data + offset, size);
481 kfree(out_mad);
/freebsd-12-stable/sys/dev/cxgbe/iw_cxgbe/
H A Dprovider.c88 struct ib_mad_hdr *out_mad,
83 c4iw_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_hdr *in_mad, size_t in_mad_size, struct ib_mad_hdr *out_mad, size_t *out_mad_size, u16 *out_mad_pkey_index) argument
/freebsd-12-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_cmd.c852 struct ib_smp *out_mad = (struct ib_smp *)(outbox->buf); local
868 pkey[i] = be16_to_cpu(((__be16 *) out_mad->data)[i]);
/freebsd-12-stable/sys/ofed/include/rdma/
H A Dib_verbs.h2048 struct ib_mad_hdr *out_mad,

Completed in 108 milliseconds