Searched refs:in_mad (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | mad.c | 46 struct ib_mad *in_mad) in can_do_mad_ifc() argument 48 if (in_mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_SUBN_LID_ROUTED && in can_do_mad_ifc() 49 in_mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in can_do_mad_ifc() 56 const struct ib_grh *in_grh, const void *in_mad, in mlx5_MAD_IFC() argument 61 if (!can_do_mad_ifc(dev, port, (struct ib_mad *)in_mad)) in mlx5_MAD_IFC() 72 return mlx5_cmd_mad_ifc(dev, in_mad, response_mad, op_modifier, in mlx5_MAD_IFC() 210 const struct ib_mad *in_mad, struct ib_mad *out_mad) in process_pma_cmd() argument 237 if (in_mad->mad_hdr.attr_id == IB_PMA_CLASS_PORT_INFO) { in process_pma_cmd() 246 if (in_mad->mad_hdr.attr_id == IB_PMA_PORT_COUNTERS_EXT) { in process_pma_cmd() 365 struct ib_smp *in_mad; in mlx5_query_ext_port_caps() local [all …]
|
| /linux/drivers/infiniband/hw/mthca/ |
| H A D | mthca_provider.c | 56 struct ib_smp *in_mad; in mthca_query_device() local 64 in_mad = kzalloc_obj(*in_mad); in mthca_query_device() 66 if (!in_mad || !out_mad) in mthca_query_device() 73 ib_init_query_mad(in_mad); in mthca_query_device() 74 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mthca_query_device() 77 1, NULL, NULL, in_mad, out_mad); in mthca_query_device() 116 kfree(in_mad); in mthca_query_device() 124 struct ib_smp *in_mad; in mthca_query_port() local 128 in_mad = kzalloc_obj(*in_mad); in mthca_query_port() 130 if (!in_mad || !out_mad) in mthca_query_port() [all …]
|
| H A D | mthca_cmd.h | 316 const void *in_mad, void *response_mad);
|
| H A D | mthca_cmd.c | 1863 const void *in_mad, void *response_mad) in mthca_MAD_IFC() argument 1891 memcpy(inbox, in_mad, 256); in mthca_MAD_IFC()
|
| /linux/drivers/infiniband/hw/mlx4/ |
| H A D | mad.c | 111 const void *in_mad, void *response_mad) in mlx4_MAD_IFC() argument 130 memcpy(inbox, in_mad, 256); in mlx4_MAD_IFC() 824 const struct ib_mad *in_mad, struct ib_mad *out_mad) in ib_process_mad() argument 832 if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP && slid == 0) { in ib_process_mad() 833 forward_trap(to_mdev(ibdev), port_num, in_mad); in ib_process_mad() 837 if (in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED || in ib_process_mad() 838 in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) { in ib_process_mad() 839 if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET && in ib_process_mad() 840 in_mad->mad_hdr.method != IB_MGMT_METHOD_SET && in ib_process_mad() 841 in_mad->mad_hdr.method != IB_MGMT_METHOD_TRAP_REPRESS) in ib_process_mad() [all …]
|
| /linux/drivers/infiniband/core/ |
| H A D | sysfs.c | 509 struct ib_mad *in_mad; in get_perf_mad() local 518 in_mad = kzalloc_obj(*in_mad); in get_perf_mad() 520 if (!in_mad || !out_mad) { in get_perf_mad() 525 in_mad->mad_hdr.base_version = 1; in get_perf_mad() 526 in_mad->mad_hdr.mgmt_class = IB_MGMT_CLASS_PERF_MGMT; in get_perf_mad() 527 in_mad->mad_hdr.class_version = 1; in get_perf_mad() 528 in_mad->mad_hdr.method = IB_MGMT_METHOD_GET; in get_perf_mad() 529 in_mad->mad_hdr.attr_id = attr; in get_perf_mad() 532 in_mad->data[41] = port_num; /* PortSelect field */ in get_perf_mad() 535 in_mad, out_mad, &mad_size, in get_perf_mad() [all …]
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | verbs.h | 291 const struct ib_mad *in_mad, struct ib_mad *out_mad,
|