Home
last modified time | relevance | path

Searched refs:out_mad (Results 1 – 13 of 13) sorted by relevance

/linux/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; in mthca_query_port() local
[all …]
/linux/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
665 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in ib_link_query_port()
[all …]
H A Dmad.c824 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/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()
/linux/drivers/infiniband/core/
H A Dsysfs.c562 struct ib_mad *out_mad; in get_perf_mad() local
563 size_t mad_size = sizeof(*out_mad); in get_perf_mad()
571 out_mad = kzalloc(sizeof(*out_mad), GFP_KERNEL); in get_perf_mad()
572 if (!in_mad || !out_mad) { in get_perf_mad()
587 in_mad, out_mad, &mad_size, in get_perf_mad()
594 memcpy(data, out_mad->data + offset, size); in get_perf_mad()
598 kfree(out_mad); in get_perf_mad()
/linux/drivers/infiniband/hw/hfi1/
H A Dmad.c4471 struct opa_mad *out_mad, in process_subn_opa() argument
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() argument
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() argument
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, u32 *resp_len) in process_perf_opa() argument
[all …]
H A Dverbs.h291 const struct ib_mad *in_mad, struct ib_mad *out_mad,
/linux/drivers/infiniband/hw/qedr/
H A Dverbs.h97 struct ib_mad *out_mad, size_t *out_mad_size,
H A Dverbs.c4491 struct ib_mad *out_mad, size_t *out_mad_size, in qedr_process_mad() argument
/linux/drivers/infiniband/hw/qib/
H A Dqib_mad.c1862 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()
/linux/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()
/linux/include/rdma/
H A Dib_verbs.h2350 const struct ib_mad *in_mad, struct ib_mad *out_mad,