/drivers/infiniband/hw/mthca/ |
D | mthca_mad.c | 200 struct ib_mad *in_mad, in mthca_process_mad() argument 209 if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP && in mthca_process_mad() 211 forward_trap(to_mdev(ibdev), port_num, in_mad); in mthca_process_mad() 221 if (in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED || in mthca_process_mad() 222 in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) { in mthca_process_mad() 223 if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET && in mthca_process_mad() 224 in_mad->mad_hdr.method != IB_MGMT_METHOD_SET && in mthca_process_mad() 225 in_mad->mad_hdr.method != IB_MGMT_METHOD_TRAP_REPRESS) in mthca_process_mad() 232 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO || in mthca_process_mad() 233 ((in_mad->mad_hdr.attr_id & IB_SMP_ATTR_VENDOR_MASK) == in mthca_process_mad() [all …]
|
D | mthca_provider.c | 63 struct ib_smp *in_mad = NULL; in mthca_query_device() local 68 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_query_device() 70 if (!in_mad || !out_mad) in mthca_query_device() 77 init_query_mad(in_mad); in mthca_query_device() 78 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mthca_query_device() 81 1, NULL, NULL, in_mad, out_mad); in mthca_query_device() 128 kfree(in_mad); in mthca_query_device() 136 struct ib_smp *in_mad = NULL; in mthca_query_port() local 140 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_query_port() 142 if (!in_mad || !out_mad) in mthca_query_port() [all …]
|
D | mthca_cmd.h | 316 void *in_mad, void *response_mad);
|
D | mthca_dev.h | 581 struct ib_mad *in_mad,
|
D | mthca_cmd.c | 1862 void *in_mad, void *response_mad) in mthca_MAD_IFC() argument 1890 memcpy(inbox, in_mad, 256); in mthca_MAD_IFC()
|
/drivers/infiniband/hw/mlx4/ |
D | main.c | 95 struct ib_smp *in_mad = NULL; in mlx4_ib_query_device() local 99 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mlx4_ib_query_device() 101 if (!in_mad || !out_mad) in mlx4_ib_query_device() 104 init_query_mad(in_mad); in mlx4_ib_query_device() 105 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mlx4_ib_query_device() 108 1, NULL, NULL, in_mad, out_mad); in mlx4_ib_query_device() 184 kfree(in_mad); in mlx4_ib_query_device() 202 struct ib_smp *in_mad = NULL; in ib_link_query_port() local 208 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in ib_link_query_port() 210 if (!in_mad || !out_mad) in ib_link_query_port() [all …]
|
D | mad.c | 107 void *in_mad, void *response_mad) in mlx4_MAD_IFC() argument 126 memcpy(inbox, in_mad, 256); in mlx4_MAD_IFC() 642 struct ib_mad *in_mad, struct ib_mad *out_mad) in ib_process_mad() argument 655 in_mad->mad_hdr.mgmt_class, in_mad->mad_hdr.method, in ib_process_mad() 656 be16_to_cpu(in_mad->mad_hdr.attr_id)); in ib_process_mad() 669 if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP && slid == 0) { in ib_process_mad() 670 forward_trap(to_mdev(ibdev), port_num, in_mad); in ib_process_mad() 674 if (in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED || in ib_process_mad() 675 in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) { in ib_process_mad() 676 if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET && in ib_process_mad() [all …]
|
D | mlx4_ib.h | 645 void *in_mad, void *response_mad); 648 struct ib_mad *in_mad, struct ib_mad *out_mad);
|
/drivers/infiniband/hw/ehca/ |
D | ehca_sqp.c | 144 struct ib_mad *in_mad, struct ib_mad *out_mad) in ehca_process_perf() argument 146 struct ib_perf *in_perf = (struct ib_perf *)in_mad; in ehca_process_perf() 158 *out_mad = *in_mad; in ehca_process_perf() 221 struct ib_mad *in_mad, struct ib_mad *out_mad) in ehca_process_mad() argument 229 if (in_mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_PERF_MGMT) in ehca_process_mad() 234 in_mad, out_mad); in ehca_process_mad()
|
D | ehca_iverbs.h | 192 struct ib_mad *in_mad,
|
/drivers/infiniband/core/ |
D | sysfs.c | 327 struct ib_mad *in_mad = NULL; in show_pma_counter() local 334 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in show_pma_counter() 336 if (!in_mad || !out_mad) { in show_pma_counter() 341 in_mad->mad_hdr.base_version = 1; in show_pma_counter() 342 in_mad->mad_hdr.mgmt_class = IB_MGMT_CLASS_PERF_MGMT; in show_pma_counter() 343 in_mad->mad_hdr.class_version = 1; in show_pma_counter() 344 in_mad->mad_hdr.method = IB_MGMT_METHOD_GET; in show_pma_counter() 345 in_mad->mad_hdr.attr_id = cpu_to_be16(0x12); /* PortCounters */ in show_pma_counter() 347 in_mad->data[41] = p->port_num; /* PortSelect field */ in show_pma_counter() 350 p->port_num, NULL, NULL, in_mad, out_mad) & in show_pma_counter() [all …]
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_ah.h | 41 struct ib_mad *in_mad, struct ib_mad *out_mad);
|
D | ocrdma_ah.c | 169 struct ib_mad *in_mad, struct ib_mad *out_mad) in ocrdma_process_mad() argument
|
/drivers/infiniband/hw/ipath/ |
D | ipath_mad.c | 1254 u8 port_num, struct ib_mad *in_mad, in process_subn() argument 1261 *out_mad = *in_mad; in process_subn() 1386 struct ib_mad *in_mad, in process_perf() argument 1392 *out_mad = *in_mad; in process_perf() 1488 struct ib_mad *in_mad, struct ib_mad *out_mad) in ipath_process_mad() argument 1492 switch (in_mad->mad_hdr.mgmt_class) { in ipath_process_mad() 1496 in_mad, out_mad); in ipath_process_mad() 1499 ret = process_perf(ibdev, port_num, in_mad, out_mad); in ipath_process_mad()
|
D | ipath_verbs.h | 706 struct ib_mad *in_mad, struct ib_mad *out_mad);
|
/drivers/infiniband/hw/qib/ |
D | qib_mad.c | 1829 u8 port, struct ib_mad *in_mad, in process_subn() argument 1837 *out_mad = *in_mad; in process_subn() 1855 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && in process_subn() 1981 struct ib_mad *in_mad, in process_perf() argument 1987 *out_mad = *in_mad; in process_perf() 2274 u8 port, struct ib_mad *in_mad, in process_cc() argument 2281 *out_mad = *in_mad; in process_cc() 2376 struct ib_mad *in_mad, struct ib_mad *out_mad) in qib_process_mad() argument 2382 switch (in_mad->mad_hdr.mgmt_class) { in qib_process_mad() 2385 ret = process_subn(ibdev, mad_flags, port, in_mad, out_mad); in qib_process_mad() [all …]
|
D | qib_verbs.h | 861 struct ib_mad *in_mad, struct ib_mad *out_mad);
|
/drivers/infiniband/hw/cxgb4/ |
D | provider.c | 84 struct ib_grh *in_grh, struct ib_mad *in_mad, in c4iw_process_mad() argument
|
/drivers/infiniband/hw/amso1100/ |
D | c2_provider.c | 592 struct ib_mad *in_mad, struct ib_mad *out_mad) in c2_process_mad() argument
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 636 struct ib_smp *in_mad = (struct ib_smp *)(inbox->buf); in query_pkey_block() local 644 in_mad->attr_mod = cpu_to_be32(index / 32); in query_pkey_block()
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.c | 90 struct ib_mad *in_mad, struct ib_mad *out_mad) in iwch_process_mad() argument
|
/drivers/infiniband/hw/nes/ |
D | nes_verbs.c | 3225 struct ib_mad *in_mad, struct ib_mad *out_mad) in nes_process_mad() argument
|