/drivers/infiniband/hw/mlx5/ |
D | mad.c | 64 const struct ib_mad *in_mad, struct ib_mad *out_mad) in process_mad() argument 99 port_num, in_wc, in_grh, in_mad, out_mad); in process_mad() 105 out_mad->mad_hdr.status |= cpu_to_be16(1 << 15); in process_mad() 187 const struct ib_mad *in_mad, struct ib_mad *out_mad) in process_pma_cmd() argument 198 memcpy((out_mad->data + 40), &cpi, sizeof(cpi)); in process_pma_cmd() 204 (struct ib_pma_portcounters_ext *)(out_mad->data + 40); in process_pma_cmd() 217 (struct ib_pma_portcounters *)(out_mad->data + 40); in process_pma_cmd() 246 struct ib_mad *out_mad = (struct ib_mad *)out; in mlx5_ib_process_mad() local 249 *out_mad_size != sizeof(*out_mad))) in mlx5_ib_process_mad() 252 memset(out_mad->data, 0, sizeof(out_mad->data)); in mlx5_ib_process_mad() [all …]
|
D | mlx5_ib.h | 810 struct ib_smp *out_mad);
|
/drivers/infiniband/hw/mthca/ |
D | mthca_provider.c | 64 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 …]
|
D | mthca_mad.c | 211 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()
|
/drivers/infiniband/hw/mlx4/ |
D | main.c | 432 struct ib_smp *out_mad = NULL; in mlx4_ib_query_device() local 457 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mlx4_ib_query_device() 458 if (!in_mad || !out_mad) in mlx4_ib_query_device() 465 1, NULL, NULL, in_mad, out_mad); in mlx4_ib_query_device() 514 props->vendor_id = be32_to_cpup((__be32 *) (out_mad->data + 36)) & in mlx4_ib_query_device() 517 props->hw_ver = be32_to_cpup((__be32 *) (out_mad->data + 32)); in mlx4_ib_query_device() 518 memcpy(&props->sys_image_guid, out_mad->data + 4, 8); in mlx4_ib_query_device() 569 kfree(out_mad); in mlx4_ib_query_device() 587 struct ib_smp *out_mad = NULL; in ib_link_query_port() local 593 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in ib_link_query_port() [all …]
|
D | mad.c | 773 const struct ib_mad *in_mad, struct ib_mad *out_mad) in ib_process_mad() argument 838 port_num, in_wc, in_grh, in_mad, out_mad); in ib_process_mad() 842 if (!out_mad->mad_hdr.status) { in ib_process_mad() 846 node_desc_override(ibdev, out_mad); in ib_process_mad() 851 out_mad->mad_hdr.status |= cpu_to_be16(1 << 15); in ib_process_mad() 895 static int iboe_process_mad_port_info(void *out_mad) in iboe_process_mad_port_info() argument 900 memcpy(out_mad, &cpi, sizeof(cpi)); in iboe_process_mad_port_info() 906 const struct ib_mad *in_mad, struct ib_mad *out_mad) in iboe_process_mad() argument 917 return iboe_process_mad_port_info((void *)(out_mad->data + 40)); in iboe_process_mad() 936 memset(out_mad->data, 0, sizeof out_mad->data); in iboe_process_mad() [all …]
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_ah.c | 291 struct ib_mad *out_mad = (struct ib_mad *)out; in ocrdma_process_mad() local 294 *out_mad_size != sizeof(*out_mad))) in ocrdma_process_mad() 300 if (!ocrdma_pma_counters(dev, out_mad)) in ocrdma_process_mad()
|
D | ocrdma_stats.h | 73 struct ib_mad *out_mad);
|
D | ocrdma_stats.c | 678 struct ib_mad *out_mad) in ocrdma_pma_counters() argument 682 memset(out_mad->data, 0, sizeof out_mad->data); in ocrdma_pma_counters() 683 pma_cnt = (void *)(out_mad->data + 40); in ocrdma_pma_counters()
|
/drivers/infiniband/core/ |
D | sysfs.c | 433 struct ib_mad *out_mad; in get_perf_mad() local 434 size_t mad_size = sizeof(*out_mad); in get_perf_mad() 442 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in get_perf_mad() 443 if (!in_mad || !out_mad) { in get_perf_mad() 460 (struct ib_mad_hdr *)out_mad, &mad_size, in get_perf_mad() 467 memcpy(data, out_mad->data + offset, size); in get_perf_mad() 471 kfree(out_mad); in get_perf_mad()
|
/drivers/infiniband/hw/qib/ |
D | qib_mad.c | 1866 struct ib_mad *out_mad) in process_subn() argument 1868 struct ib_smp *smp = (struct ib_smp *)out_mad; in process_subn() 1873 *out_mad = *in_mad; in process_subn() 2018 struct ib_mad *out_mad) in process_perf() argument 2020 struct ib_pma_mad *pmp = (struct ib_pma_mad *)out_mad; in process_perf() 2023 *out_mad = *in_mad; in process_perf() 2311 struct ib_mad *out_mad) in process_cc() argument 2313 struct ib_cc_mad *ccp = (struct ib_cc_mad *)out_mad; in process_cc() 2317 *out_mad = *in_mad; in process_cc() 2420 struct ib_mad *out_mad = (struct ib_mad *)out; in qib_process_mad() local [all …]
|
/drivers/infiniband/hw/hfi1/ |
D | mad.c | 4010 struct opa_mad *out_mad, in process_subn_opa() argument 4013 struct opa_smp *smp = (struct opa_smp *)out_mad; in process_subn_opa() 4020 *out_mad = *in_mad; in process_subn_opa() 4107 struct ib_mad *out_mad) in process_subn() argument 4109 struct ib_smp *smp = (struct ib_smp *)out_mad; in process_subn() 4113 *out_mad = *in_mad; in process_subn() 4166 struct ib_mad *out_mad) in process_perf() argument 4168 struct ib_pma_mad *pmp = (struct ib_pma_mad *)out_mad; in process_perf() 4173 *out_mad = *in_mad; in process_perf() 4228 struct opa_mad *out_mad, u32 *resp_len) in process_perf_opa() argument [all …]
|
D | verbs.h | 242 struct ib_mad_hdr *out_mad, size_t *out_mad_size,
|
/drivers/infiniband/hw/qedr/ |
D | verbs.h | 96 size_t in_mad_size, struct ib_mad_hdr *out_mad,
|
D | verbs.c | 3536 size_t in_mad_size, struct ib_mad_hdr *out_mad, in qedr_process_mad() argument
|
/drivers/infiniband/hw/cxgb4/ |
D | provider.c | 87 struct ib_mad_hdr *out_mad, in c4iw_process_mad() argument
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 850 struct ib_smp *out_mad = (struct ib_smp *)(outbox->buf); in query_pkey_block() local 866 pkey[i] = be16_to_cpu(((__be16 *) out_mad->data)[i]); in query_pkey_block()
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.c | 92 struct ib_mad_hdr *out_mad, in iwch_process_mad() argument
|