| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | mad.c | 210 const struct ib_mad *in_mad, struct ib_mad *out_mad) in process_pma_cmd() argument 241 memcpy((out_mad->data + 40), &cpi, sizeof(cpi)); in process_pma_cmd() 248 (struct ib_pma_portcounters_ext *)(out_mad->data + 40); in process_pma_cmd() 272 (struct ib_pma_portcounters *)(out_mad->data + 40); in process_pma_cmd() 366 struct ib_smp *out_mad; in mlx5_query_ext_port_caps() local 371 out_mad = kmalloc_obj(*out_mad); in mlx5_query_ext_port_caps() 372 if (!in_mad || !out_mad) in mlx5_query_ext_port_caps() 379 err = mlx5_MAD_IFC(dev, 1, 1, 1, NULL, NULL, in_mad, out_mad); in mlx5_query_ext_port_caps() 381 packet_error = be16_to_cpu(out_mad->status); in mlx5_query_ext_port_caps() 388 kfree(out_mad); in mlx5_query_ext_port_caps() [all …]
|
| /linux/drivers/infiniband/hw/mthca/ |
| H A D | mthca_provider.c | 57 struct ib_smp *out_mad; in mthca_query_device() local 66 out_mad = kmalloc_obj(*out_mad); in mthca_query_device() 67 if (!in_mad || !out_mad) { in mthca_query_device() 80 1, NULL, NULL, in_mad, out_mad); in mthca_query_device() 85 props->vendor_id = be32_to_cpup((__be32 *) (out_mad->data + 36)) & in mthca_query_device() 87 props->vendor_part_id = be16_to_cpup((__be16 *) (out_mad->data + 30)); in mthca_query_device() 88 props->hw_ver = be32_to_cpup((__be32 *) (out_mad->data + 32)); in mthca_query_device() 89 memcpy(&props->sys_image_guid, out_mad->data + 4, 8); in mthca_query_device() 120 kfree(out_mad); 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 1005 struct ib_smp *out_mad; mthca_init_node_data() local [all...] |
| /linux/drivers/infiniband/hw/mlx4/ |
| H A D | mad.c | 824 const struct ib_mad *in_mad, struct ib_mad *out_mad) in ib_process_mad() argument 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() argument 950 return iboe_process_mad_port_info((void *)(out_mad->data + 40)); in iboe_process_mad() 972 (void *)(out_mad->data + 40), in iboe_process_mad() [all …]
|
| /linux/drivers/infiniband/hw/bnxt_re/ |
| H A D | bnxt_re.h | 248 int bnxt_re_assign_pma_port_counters(struct bnxt_re_dev *rdev, struct ib_mad *out_mad); 250 struct ib_mad *out_mad);
|
| H A D | ib_verbs.c | 5026 const struct ib_mad *in_mad, struct ib_mad *out_mad, 5040 memcpy((out_mad->data + 40), &cpi, sizeof(cpi)); 5043 rc = bnxt_re_assign_pma_port_ext_counters(rdev, out_mad); 5046 rc = bnxt_re_assign_pma_port_counters(rdev, out_mad); 4895 bnxt_re_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,size_t * out_mad_size,u16 * out_mad_pkey_index) bnxt_re_process_mad() argument
|
| /linux/drivers/infiniband/hw/ocrdma/ |
| H A D | ocrdma_stats.h | 72 void ocrdma_pma_counters(struct ocrdma_dev *dev, struct ib_mad *out_mad);
|
| H A 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()
|
| /linux/drivers/infiniband/core/ |
| H A D | sysfs.c | 510 struct ib_mad *out_mad; in get_perf_mad() local 511 size_t mad_size = sizeof(*out_mad); in get_perf_mad() 519 out_mad = kzalloc_obj(*out_mad); in get_perf_mad() 520 if (!in_mad || !out_mad) { in get_perf_mad() 535 in_mad, out_mad, &mad_size, in get_perf_mad() 542 memcpy(data, out_mad->data + offset, size); in get_perf_mad() 546 kfree(out_mad); in get_perf_mad()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | verbs.h | 291 const struct ib_mad *in_mad, struct ib_mad *out_mad,
|