Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Dmad.c151 const struct ib_mad *in_mad, struct ib_mad *out_mad) in process_pma_cmd()
180 memcpy((out_mad->data + 40), &cpi, sizeof(cpi)); in process_pma_cmd()
187 (struct ib_pma_portcounters_ext *)(out_mad->data + 40); in process_pma_cmd()
202 (struct ib_pma_portcounters *)(out_mad->data + 40); in process_pma_cmd()
291 struct ib_smp *out_mad = NULL; in mlx5_query_ext_port_caps() local
296 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_ext_port_caps()
297 if (!in_mad || !out_mad) in mlx5_query_ext_port_caps()
304 err = mlx5_MAD_IFC(dev, 1, 1, 1, NULL, NULL, in_mad, out_mad); in mlx5_query_ext_port_caps()
306 packet_error = be16_to_cpu(out_mad in mlx5_query_ext_port_caps()
150 process_pma_cmd(struct mlx5_ib_dev *dev, u8 port_num, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_pma_cmd() argument
317 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
340 struct ib_smp *out_mad = NULL; mlx5_query_mad_ifc_system_image_guid() local
362 struct ib_smp *out_mad = NULL; mlx5_query_mad_ifc_max_pkeys() local
384 struct ib_smp *out_mad = NULL; mlx5_query_mad_ifc_vendor_id() local
406 struct ib_smp *out_mad = NULL; mlx5_query_mad_ifc_node_desc() local
431 struct ib_smp *out_mad = NULL; mlx5_query_mad_ifc_node_guid() local
457 struct ib_smp *out_mad = NULL; mlx5_query_mad_ifc_pkey() local
486 struct ib_smp *out_mad = NULL; mlx5_query_mad_ifc_gids() local
528 struct ib_smp *out_mad = NULL; mlx5_query_mad_ifc_port() local
[all...]
H A Dmlx5_ib.h1216 struct ib_smp *out_mad);
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
H A Dmad.c173 const struct ib_mad *in_mad, struct ib_mad *out_mad) in process_pma_cmd()
202 memcpy((out_mad->data + 40), &cpi, sizeof(cpi)); in process_pma_cmd()
209 (struct ib_pma_portcounters_ext *)(out_mad->data + 40); in process_pma_cmd()
224 (struct ib_pma_portcounters *)(out_mad->data + 40); in process_pma_cmd()
312 struct ib_smp *out_mad; in mlx5_query_ext_port_caps() local
317 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_ext_port_caps()
318 if (!in_mad || !out_mad) in mlx5_query_ext_port_caps()
325 err = mlx5_MAD_IFC(dev, 1, 1, 1, NULL, NULL, in_mad, out_mad); in mlx5_query_ext_port_caps()
327 packet_error = be16_to_cpu(out_mad in mlx5_query_ext_port_caps()
172 process_pma_cmd(struct mlx5_ib_dev *dev, u32 port_num, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_pma_cmd() argument
338 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
361 struct ib_smp *out_mad; mlx5_query_mad_ifc_system_image_guid() local
383 struct ib_smp *out_mad; mlx5_query_mad_ifc_max_pkeys() local
405 struct ib_smp *out_mad; mlx5_query_mad_ifc_vendor_id() local
427 struct ib_smp *out_mad; mlx5_query_mad_ifc_node_desc() local
452 struct ib_smp *out_mad; mlx5_query_mad_ifc_node_guid() local
478 struct ib_smp *out_mad; mlx5_query_mad_ifc_pkey() local
507 struct ib_smp *out_mad; mlx5_query_mad_ifc_gids() local
549 struct ib_smp *out_mad; mlx5_query_mad_ifc_port() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c65 struct ib_smp *out_mad = NULL; in mthca_query_device() local
73 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_device()
74 if (!in_mad || !out_mad) in mthca_query_device()
85 1, NULL, NULL, in_mad, out_mad); in mthca_query_device()
90 props->vendor_id = be32_to_cpup((__be32 *) (out_mad->data + 36)) & in mthca_query_device()
92 props->vendor_part_id = be16_to_cpup((__be16 *) (out_mad->data + 30)); in mthca_query_device()
93 props->hw_ver = be32_to_cpup((__be32 *) (out_mad->data + 32)); in mthca_query_device()
94 memcpy(&props->sys_image_guid, out_mad->data + 4, 8); in mthca_query_device()
125 kfree(out_mad); in mthca_query_device()
133 struct ib_smp *out_mad = NULL; mthca_query_port() local
229 struct ib_smp *out_mad = NULL; mthca_query_pkey() local
258 struct ib_smp *out_mad = NULL; mthca_query_gid() local
1014 struct ib_smp *out_mad = NULL; mthca_init_node_data() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c57 struct ib_smp *out_mad; in mthca_query_device() local
65 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_device()
66 if (!in_mad || !out_mad) in mthca_query_device()
77 1, NULL, NULL, in_mad, out_mad); in mthca_query_device()
82 props->vendor_id = be32_to_cpup((__be32 *) (out_mad->data + 36)) & in mthca_query_device()
84 props->vendor_part_id = be16_to_cpup((__be16 *) (out_mad->data + 30)); in mthca_query_device()
85 props->hw_ver = be32_to_cpup((__be32 *) (out_mad->data + 32)); in mthca_query_device()
86 memcpy(&props->sys_image_guid, out_mad->data + 4, 8); in mthca_query_device()
117 kfree(out_mad); in mthca_query_device()
125 struct ib_smp *out_mad; mthca_query_port() local
221 struct ib_smp *out_mad; mthca_query_pkey() local
250 struct ib_smp *out_mad; mthca_query_gid() local
993 struct ib_smp *out_mad; mthca_init_node_data() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
H A Dmain.c443 struct ib_smp *out_mad = NULL; in mlx4_ib_query_device() local
468 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()
643 kfree(out_mad); in mlx4_ib_query_device()
661 struct ib_smp *out_mad in ib_link_query_port() local
839 struct ib_smp *out_mad = NULL; __mlx4_ib_query_gid() local
903 struct ib_smp *out_mad = NULL; mlx4_ib_query_sl2vl() local
963 struct ib_smp *out_mad = NULL; __mlx4_ib_query_pkey() local
1984 struct ib_smp *out_mad = NULL; init_node_data() local
[all...]
H A Dmad.c823 const struct ib_mad *in_mad, struct ib_mad *out_mad) in ib_process_mad()
869 port_num, in_wc, in_grh, in_mad, out_mad); in ib_process_mad()
873 if (!out_mad->mad_hdr.status) { in ib_process_mad()
877 node_desc_override(ibdev, out_mad); in ib_process_mad()
882 out_mad->mad_hdr.status |= cpu_to_be16(1 << 15); in ib_process_mad()
926 static int iboe_process_mad_port_info(void *out_mad) in iboe_process_mad_port_info() argument
931 memcpy(out_mad, &cpi, sizeof(cpi)); in iboe_process_mad_port_info()
937 const struct ib_mad *in_mad, struct ib_mad *out_mad) in iboe_process_mad()
948 return iboe_process_mad_port_info((void *)(out_mad->data + 40)); in iboe_process_mad()
970 (void *)(out_mad in iboe_process_mad()
821 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
935 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
1128 struct ib_smp *out_mad = NULL; handle_slaves_guid_change() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx4/
H A Dmain.c441 struct ib_smp *out_mad; in mlx4_ib_query_device() local
466 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mlx4_ib_query_device()
468 if (!in_mad || !out_mad) in mlx4_ib_query_device()
475 1, NULL, NULL, in_mad, out_mad); in mlx4_ib_query_device()
524 props->vendor_id = be32_to_cpup((__be32 *) (out_mad->data + 36)) & in mlx4_ib_query_device()
527 props->hw_ver = be32_to_cpup((__be32 *) (out_mad->data + 32)); in mlx4_ib_query_device()
528 memcpy(&props->sys_image_guid, out_mad->data + 4, 8); in mlx4_ib_query_device()
641 kfree(out_mad); in mlx4_ib_query_device()
659 struct ib_smp *out_mad; in ib_link_query_port() local
837 struct ib_smp *out_mad; __mlx4_ib_query_gid() local
902 struct ib_smp *out_mad; mlx4_ib_query_sl2vl() local
962 struct ib_smp *out_mad; __mlx4_ib_query_pkey() local
1978 struct ib_smp *out_mad; init_node_data() local
[all...]
H A Dmad.c824 const struct ib_mad *in_mad, struct ib_mad *out_mad) in ib_process_mad()
870 port_num, in_wc, in_grh, in_mad, out_mad); in ib_process_mad()
874 if (!out_mad->mad_hdr.status) { in ib_process_mad()
878 node_desc_override(ibdev, out_mad); in ib_process_mad()
883 out_mad->mad_hdr.status |= cpu_to_be16(1 << 15); in ib_process_mad()
927 static int iboe_process_mad_port_info(void *out_mad) in iboe_process_mad_port_info() argument
932 memcpy(out_mad, &cpi, sizeof(cpi)); in iboe_process_mad_port_info()
939 const struct ib_mad *in_mad, struct ib_mad *out_mad) in iboe_process_mad()
950 return iboe_process_mad_port_info((void *)(out_mad->data + 40)); in iboe_process_mad()
972 (void *)(out_mad in iboe_process_mad()
822 ib_process_mad(struct ib_device *ibdev, int mad_flags, u32 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
936 iboe_process_mad(struct ib_device *ibdev, int mad_flags, u32 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
1130 struct ib_smp *out_mad = NULL; handle_slaves_guid_change() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
H A Docrdma_stats.h72 void ocrdma_pma_counters(struct ocrdma_dev *dev, struct ib_mad *out_mad);
H A Docrdma_stats.c673 void ocrdma_pma_counters(struct ocrdma_dev *dev, struct ib_mad *out_mad) in ocrdma_pma_counters() argument
677 pma_cnt = (void *)(out_mad->data + 40); in ocrdma_pma_counters()
/kernel/linux/linux-6.6/drivers/infiniband/hw/ocrdma/
H A Docrdma_stats.h72 void ocrdma_pma_counters(struct ocrdma_dev *dev, struct ib_mad *out_mad);
H A Docrdma_stats.c673 void ocrdma_pma_counters(struct ocrdma_dev *dev, struct ib_mad *out_mad) in ocrdma_pma_counters() argument
677 pma_cnt = (void *)(out_mad->data + 40); in ocrdma_pma_counters()
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Dsysfs.c477 struct ib_mad *out_mad; in get_perf_mad() local
478 size_t mad_size = sizeof(*out_mad); in get_perf_mad()
486 out_mad = kzalloc(sizeof(*out_mad), GFP_KERNEL); in get_perf_mad()
487 if (!in_mad || !out_mad) { in get_perf_mad()
502 in_mad, out_mad, &mad_size, in get_perf_mad()
509 memcpy(data, out_mad->data + offset, size); in get_perf_mad()
513 kfree(out_mad); in get_perf_mad()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dmad.c4513 struct opa_mad *out_mad, in process_subn_opa()
4516 struct opa_smp *smp = (struct opa_smp *)out_mad; in process_subn_opa()
4523 *out_mad = *in_mad; in process_subn_opa()
4618 struct ib_mad *out_mad) in process_subn()
4620 struct ib_smp *smp = (struct ib_smp *)out_mad; in process_subn()
4624 *out_mad = *in_mad; in process_subn()
4677 struct ib_mad *out_mad) in process_perf()
4679 struct ib_pma_mad *pmp = (struct ib_pma_mad *)out_mad; in process_perf()
4684 *out_mad = *in_mad; in process_perf()
4739 struct opa_mad *out_mad, u3 in process_perf_opa()
4511 process_subn_opa(struct ib_device *ibdev, int mad_flags, u8 port, const struct opa_mad *in_mad, struct opa_mad *out_mad, u32 *resp_len, int local_mad) process_subn_opa() argument
4616 process_subn(struct ib_device *ibdev, int mad_flags, u8 port, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_subn() argument
4675 process_perf(struct ib_device *ibdev, u8 port, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_perf() argument
4737 process_perf_opa(struct ib_device *ibdev, u8 port, const struct opa_mad *in_mad, struct opa_mad *out_mad, u32 *resp_len) process_perf_opa() argument
4818 hfi1_process_opa_mad(struct ib_device *ibdev, int mad_flags, u8 port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const struct opa_mad *in_mad, struct opa_mad *out_mad, size_t *out_mad_size, u16 *out_mad_pkey_index) hfi1_process_opa_mad() argument
4872 hfi1_process_ib_mad(struct ib_device *ibdev, int mad_flags, u8 port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const struct ib_mad *in_mad, struct ib_mad *out_mad) hfi1_process_ib_mad() argument
4915 hfi1_process_mad(struct ib_device *ibdev, int mad_flags, u8 port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const struct ib_mad *in_mad, struct ib_mad *out_mad, size_t *out_mad_size, u16 *out_mad_pkey_index) hfi1_process_mad() argument
[all...]
H A Dverbs.h333 const struct ib_mad *in_mad, struct ib_mad *out_mad,
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dmad.c4471 struct opa_mad *out_mad, in process_subn_opa()
4474 struct opa_smp *smp = (struct opa_smp *)out_mad; in process_subn_opa()
4481 *out_mad = *in_mad; in process_subn_opa()
4576 struct ib_mad *out_mad) in process_subn()
4578 struct ib_smp *smp = (struct ib_smp *)out_mad; in process_subn()
4582 *out_mad = *in_mad; in process_subn()
4635 struct ib_mad *out_mad) in process_perf()
4637 struct ib_pma_mad *pmp = (struct ib_pma_mad *)out_mad; in process_perf()
4642 *out_mad = *in_mad; in process_perf()
4697 struct opa_mad *out_mad, u3 in process_perf_opa()
4469 process_subn_opa(struct ib_device *ibdev, int mad_flags, u32 port, const struct opa_mad *in_mad, struct opa_mad *out_mad, u32 *resp_len, int local_mad) process_subn_opa() argument
4574 process_subn(struct ib_device *ibdev, int mad_flags, u32 port, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_subn() argument
4633 process_perf(struct ib_device *ibdev, u32 port, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_perf() argument
4695 process_perf_opa(struct ib_device *ibdev, u32 port, const struct opa_mad *in_mad, struct opa_mad *out_mad, u32 *resp_len) process_perf_opa() argument
4776 hfi1_process_opa_mad(struct ib_device *ibdev, int mad_flags, u32 port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const struct opa_mad *in_mad, struct opa_mad *out_mad, size_t *out_mad_size, u16 *out_mad_pkey_index) hfi1_process_opa_mad() argument
4830 hfi1_process_ib_mad(struct ib_device *ibdev, int mad_flags, u32 port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const struct ib_mad *in_mad, struct ib_mad *out_mad) hfi1_process_ib_mad() argument
4875 hfi1_process_mad(struct ib_device *ibdev, int mad_flags, u32 port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const struct ib_mad *in_mad, struct ib_mad *out_mad, size_t *out_mad_size, u16 *out_mad_pkey_index) hfi1_process_mad() argument
[all...]
H A Dverbs.h291 const struct ib_mad *in_mad, struct ib_mad *out_mad,
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
H A Dverbs.h97 struct ib_mad *out_mad, size_t *out_mad_size,
/kernel/linux/linux-6.6/drivers/infiniband/hw/qedr/
H A Dverbs.h97 struct ib_mad *out_mad, size_t *out_mad_size,
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Dsysfs.c558 struct ib_mad *out_mad; in get_perf_mad() local
559 size_t mad_size = sizeof(*out_mad); in get_perf_mad()
567 out_mad = kzalloc(sizeof(*out_mad), GFP_KERNEL); in get_perf_mad()
568 if (!in_mad || !out_mad) { in get_perf_mad()
583 in_mad, out_mad, &mad_size, in get_perf_mad()
590 memcpy(data, out_mad->data + offset, size); in get_perf_mad()
594 kfree(out_mad); in get_perf_mad()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
H A Dqib_mad.c1862 struct ib_mad *out_mad) in process_subn()
1864 struct ib_smp *smp = (struct ib_smp *)out_mad; in process_subn()
1869 *out_mad = *in_mad; in process_subn()
2014 struct ib_mad *out_mad) in process_perf()
2016 struct ib_pma_mad *pmp = (struct ib_pma_mad *)out_mad; in process_perf()
2019 *out_mad = *in_mad; in process_perf()
2293 struct ib_mad *out_mad) in process_cc()
2295 struct ib_cc_mad *ccp = (struct ib_cc_mad *)out_mad; in process_cc()
2296 *out_mad = *in_mad; in process_cc()
2350 * @out_mad
1860 process_subn(struct ib_device *ibdev, int mad_flags, u8 port, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_subn() argument
2012 process_perf(struct ib_device *ibdev, u8 port, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_perf() argument
2291 process_cc(struct ib_device *ibdev, int mad_flags, u8 port, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_cc() argument
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
H A Dqib_mad.c1862 struct ib_mad *out_mad) in process_subn()
1864 struct ib_smp *smp = (struct ib_smp *)out_mad; in process_subn()
1869 *out_mad = *in_mad; in process_subn()
2014 struct ib_mad *out_mad) in process_perf()
2016 struct ib_pma_mad *pmp = (struct ib_pma_mad *)out_mad; in process_perf()
2019 *out_mad = *in_mad; in process_perf()
2293 struct ib_mad *out_mad) in process_cc()
2295 struct ib_cc_mad *ccp = (struct ib_cc_mad *)out_mad; in process_cc()
2296 *out_mad = *in_mad; in process_cc()
1860 process_subn(struct ib_device *ibdev, int mad_flags, u8 port, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_subn() argument
2012 process_perf(struct ib_device *ibdev, u8 port, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_perf() argument
2291 process_cc(struct ib_device *ibdev, int mad_flags, u8 port, const struct ib_mad *in_mad, struct ib_mad *out_mad) process_cc() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A Dcmd.c844 struct ib_smp *out_mad = (struct ib_smp *)(outbox->buf); in query_pkey_block() local
860 pkey[i] = be16_to_cpu(((__be16 *) out_mad->data)[i]); in query_pkey_block()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A Dcmd.c844 struct ib_smp *out_mad = (struct ib_smp *)(outbox->buf); in query_pkey_block() local
860 pkey[i] = be16_to_cpu(((__be16 *) out_mad->data)[i]); in query_pkey_block()

Completed in 59 milliseconds

12