| /trueos/sys/ofed/drivers/infiniband/hw/mthca/ |
| HD | mthca_mad.c | 198 struct ib_mad *in_mad, in mthca_process_mad() argument 208 if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP && in mthca_process_mad() 210 forward_trap(to_mdev(ibdev), port_num, in_mad); in mthca_process_mad() 220 if (in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED || in mthca_process_mad() 221 in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) { in mthca_process_mad() 222 if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET && in mthca_process_mad() 223 in_mad->mad_hdr.method != IB_MGMT_METHOD_SET && in mthca_process_mad() 224 in_mad->mad_hdr.method != IB_MGMT_METHOD_TRAP_REPRESS) in mthca_process_mad() 231 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO || in mthca_process_mad() 232 ((in_mad->mad_hdr.attr_id & IB_SMP_ATTR_VENDOR_MASK) == in mthca_process_mad() [all …]
|
| HD | mthca_provider.c | 61 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() 133 kfree(in_mad); in mthca_query_device() 141 struct ib_smp *in_mad = NULL; in mthca_query_port() local 146 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_query_port() 148 if (!in_mad || !out_mad) in mthca_query_port() [all …]
|
| HD | mthca_cmd.h | 321 void *in_mad, void *response_mad, u8 *status);
|
| HD | mthca_dev.h | 581 struct ib_mad *in_mad,
|
| HD | mthca_cmd.c | 1824 void *in_mad, void *response_mad, u8 *status) in mthca_MAD_IFC() argument 1852 memcpy(inbox, in_mad, 256); in mthca_MAD_IFC()
|
| /trueos/sys/ofed/drivers/infiniband/hw/mlx4/ |
| HD | main.c | 128 struct ib_smp *in_mad = NULL; in mlx4_ib_query_device() local 132 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mlx4_ib_query_device() 134 if (!in_mad || !out_mad) in mlx4_ib_query_device() 137 init_query_mad(in_mad); in mlx4_ib_query_device() 138 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mlx4_ib_query_device() 141 1, NULL, NULL, in_mad, out_mad); in mlx4_ib_query_device() 216 kfree(in_mad); in mlx4_ib_query_device() 234 struct ib_smp *in_mad = NULL; in ib_link_query_port() local 240 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in ib_link_query_port() 242 if (!in_mad || !out_mad) in ib_link_query_port() [all …]
|
| HD | mad.c | 107 void *in_mad, void *response_mad) in mlx4_MAD_IFC() argument 126 memcpy(inbox, in_mad, 256); in mlx4_MAD_IFC() 682 struct ib_mad *in_mad, struct ib_mad *out_mad) in ib_process_mad() argument 695 in_mad->mad_hdr.mgmt_class, in_mad->mad_hdr.method, in ib_process_mad() 696 be16_to_cpu(in_mad->mad_hdr.attr_id)); in ib_process_mad() 710 if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP && slid == 0) { in ib_process_mad() 711 forward_trap(to_mdev(ibdev), port_num, in_mad); in ib_process_mad() 715 if (in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED || in ib_process_mad() 716 in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) { in ib_process_mad() 717 if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET && in ib_process_mad() [all …]
|
| HD | mlx4_ib.h | 697 void *in_mad, void *response_mad); 700 struct ib_mad *in_mad, struct ib_mad *out_mad);
|
| /trueos/sys/ofed/drivers/infiniband/core/ |
| HD | sysfs.c | 304 struct ib_mad *in_mad = NULL; in get_pma_counters() local 311 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in get_pma_counters() 313 if (!in_mad || !out_mad) { in get_pma_counters() 318 in_mad->mad_hdr.base_version = 1; in get_pma_counters() 319 in_mad->mad_hdr.mgmt_class = IB_MGMT_CLASS_PERF_MGMT; in get_pma_counters() 320 in_mad->mad_hdr.class_version = 1; in get_pma_counters() 321 in_mad->mad_hdr.method = IB_MGMT_METHOD_GET; in get_pma_counters() 323 in_mad->mad_hdr.attr_id = IB_PMA_PORT_COUNTERS_EXT; in get_pma_counters() 325 in_mad->mad_hdr.attr_id = IB_PMA_PORT_COUNTERS; in get_pma_counters() 327 in_mad->data[41] = p->port_num; /* PortSelect field */ in get_pma_counters() [all …]
|
| /trueos/sys/dev/cxgbe/iw_cxgbe/ |
| HD | provider.c | 80 struct ib_grh *in_grh, struct ib_mad *in_mad, in c4iw_process_mad() argument
|
| /trueos/sys/ofed/drivers/net/mlx4/ |
| HD | cmd.c | 850 struct ib_smp *in_mad = (struct ib_smp *)(inbox->buf); in query_pkey_block() local 858 in_mad->attr_mod = cpu_to_be32(index / 32); in query_pkey_block()
|
| /trueos/sys/dev/cxgb/ulp/iw_cxgb/ |
| HD | iw_cxgb_provider.c | 121 struct ib_mad *in_mad, struct ib_mad *out_mad) in iwch_process_mad() argument
|
| /trueos/sys/ofed/include/rdma/ |
| HD | ib_verbs.h | 1328 struct ib_mad *in_mad,
|