Lines Matching refs:mad_hdr
1158 if (pmp->mad_hdr.attr_mod != 0) in pma_get_classportinfo()
1159 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_get_classportinfo()
1193 if (pmp->mad_hdr.attr_mod != 0 || port_select != port) { in pma_get_portsamplescontrol()
1194 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_get_portsamplescontrol()
1229 if (pmp->mad_hdr.attr_mod != 0 || p->port_select != port) { in pma_set_portsamplescontrol()
1230 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_set_portsamplescontrol()
1460 if (pmp->mad_hdr.attr_mod != 0 || port_select != port) in pma_get_portcounters()
1461 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_get_portcounters()
1534 u32 port_select = be32_to_cpu(pmp->mad_hdr.attr_mod) & 0xFF; in pma_get_portcounters_cong()
1543 pmp->mad_hdr.status |= IB_SMP_UNSUP_METH_ATTR; in pma_get_portcounters_cong()
1545 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_get_portcounters_cong()
1668 if (pmp->mad_hdr.attr_mod != 0 || port_select != port) { in pma_get_portcounters_ext()
1669 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_get_portcounters_ext()
1771 u32 counter_select = (be32_to_cpu(pmp->mad_hdr.attr_mod) >> 24) & 0xFF; in pma_set_portcounters_cong()
1883 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && in process_subn()
2016 if (pmp->mad_hdr.class_version != 1) { in process_perf()
2017 pmp->mad_hdr.status |= IB_SMP_UNSUP_VERSION; in process_perf()
2022 switch (pmp->mad_hdr.method) { in process_perf()
2024 switch (pmp->mad_hdr.attr_id) { in process_perf()
2047 pmp->mad_hdr.status |= IB_SMP_UNSUP_METH_ATTR; in process_perf()
2053 switch (pmp->mad_hdr.attr_id) { in process_perf()
2067 pmp->mad_hdr.status |= IB_SMP_UNSUP_METH_ATTR; in process_perf()
2083 pmp->mad_hdr.status |= IB_SMP_UNSUP_METHOD; in process_perf()
2410 switch (in_mad->mad_hdr.mgmt_class) { in qib_process_mad()