/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | mad.c | 151 const struct ib_mad *in_mad, struct ib_mad *out_mad) in process_pma_cmd() argument 174 memcpy((out_mad->data + 40), &cpi, sizeof(cpi)); in process_pma_cmd() 181 (struct ib_pma_portcounters_ext *)(out_mad->data + 40); in process_pma_cmd() 196 (struct ib_pma_portcounters *)(out_mad->data + 40); in process_pma_cmd() 285 struct ib_smp *out_mad = NULL; in mlx5_query_ext_port_caps() local 290 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_ext_port_caps() 291 if (!in_mad || !out_mad) in mlx5_query_ext_port_caps() 298 err = mlx5_MAD_IFC(dev, 1, 1, 1, NULL, NULL, in_mad, out_mad); in mlx5_query_ext_port_caps() 300 packet_error = be16_to_cpu(out_mad->status); in mlx5_query_ext_port_caps() 307 kfree(out_mad); in mlx5_query_ext_port_caps() [all …]
|
D | mlx5_ib.h | 1216 struct ib_smp *out_mad);
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
D | mthca_provider.c | 65 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; in mthca_query_port() local [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
D | main.c | 443 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 = NULL; in ib_link_query_port() local 667 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in ib_link_query_port() [all …]
|
D | mad.c | 823 const struct ib_mad *in_mad, struct ib_mad *out_mad) in ib_process_mad() argument 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() argument 948 return iboe_process_mad_port_info((void *)(out_mad->data + 40)); in iboe_process_mad() 970 (void *)(out_mad->data + 40), in iboe_process_mad() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_stats.h | 72 void ocrdma_pma_counters(struct ocrdma_dev *dev, struct ib_mad *out_mad);
|
D | ocrdma_stats.c | 673 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/ |
D | sysfs.c | 477 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/ |
D | mad.c | 4513 struct opa_mad *out_mad, in process_subn_opa() argument 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() argument 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() argument 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, u32 *resp_len) in process_perf_opa() argument [all …]
|
D | verbs.h | 333 const struct ib_mad *in_mad, struct ib_mad *out_mad,
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/ |
D | verbs.h | 97 struct ib_mad *out_mad, size_t *out_mad_size,
|
D | verbs.c | 4480 struct ib_mad *out_mad, size_t *out_mad_size, in qedr_process_mad() argument
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
D | qib_mad.c | 1862 struct ib_mad *out_mad) in process_subn() argument 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() argument 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() argument 2295 struct ib_cc_mad *ccp = (struct ib_cc_mad *)out_mad; in process_cc() 2296 *out_mad = *in_mad; in process_cc()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 844 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-5.10/include/rdma/ |
D | ib_verbs.h | 2308 const struct ib_mad *in_mad, struct ib_mad *out_mad,
|