Lines Matching refs:mad_hdr
1160 if (pmp->mad_hdr.attr_mod != 0) in pma_get_classportinfo()
1161 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_get_classportinfo()
1197 if (pmp->mad_hdr.attr_mod != 0 || port_select != port) { in pma_get_portsamplescontrol()
1198 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_get_portsamplescontrol()
1233 if (pmp->mad_hdr.attr_mod != 0 || p->port_select != port) { in pma_set_portsamplescontrol()
1234 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_set_portsamplescontrol()
1464 if (pmp->mad_hdr.attr_mod != 0 || port_select != port) in pma_get_portcounters()
1465 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_get_portcounters()
1538 u32 port_select = be32_to_cpu(pmp->mad_hdr.attr_mod) & 0xFF; in pma_get_portcounters_cong()
1547 pmp->mad_hdr.status |= IB_SMP_UNSUP_METH_ATTR; in pma_get_portcounters_cong()
1549 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_get_portcounters_cong()
1672 if (pmp->mad_hdr.attr_mod != 0 || port_select != port) { in pma_get_portcounters_ext()
1673 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_get_portcounters_ext()
1775 u32 counter_select = (be32_to_cpu(pmp->mad_hdr.attr_mod) >> 24) & 0xFF; in pma_set_portcounters_cong()
1887 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && in process_subn()
2020 if (pmp->mad_hdr.class_version != 1) { in process_perf()
2021 pmp->mad_hdr.status |= IB_SMP_UNSUP_VERSION; in process_perf()
2026 switch (pmp->mad_hdr.method) { in process_perf()
2028 switch (pmp->mad_hdr.attr_id) { in process_perf()
2051 pmp->mad_hdr.status |= IB_SMP_UNSUP_METH_ATTR; in process_perf()
2057 switch (pmp->mad_hdr.attr_id) { in process_perf()
2071 pmp->mad_hdr.status |= IB_SMP_UNSUP_METH_ATTR; in process_perf()
2087 pmp->mad_hdr.status |= IB_SMP_UNSUP_METHOD; in process_perf()
2422 switch (in_mad->mad_hdr.mgmt_class) { in qib_process_mad()