Lines Matching refs:mad_hdr

1159 	if (pmp->mad_hdr.attr_mod != 0)  in pma_get_classportinfo()
1160 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_get_classportinfo()
1194 if (pmp->mad_hdr.attr_mod != 0 || port_select != port) { in pma_get_portsamplescontrol()
1195 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_get_portsamplescontrol()
1230 if (pmp->mad_hdr.attr_mod != 0 || p->port_select != port) { in pma_set_portsamplescontrol()
1231 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_set_portsamplescontrol()
1461 if (pmp->mad_hdr.attr_mod != 0 || port_select != port) in pma_get_portcounters()
1462 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_get_portcounters()
1535 u32 port_select = be32_to_cpu(pmp->mad_hdr.attr_mod) & 0xFF; in pma_get_portcounters_cong()
1544 pmp->mad_hdr.status |= IB_SMP_UNSUP_METH_ATTR; in pma_get_portcounters_cong()
1546 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_get_portcounters_cong()
1669 if (pmp->mad_hdr.attr_mod != 0 || port_select != port) { in pma_get_portcounters_ext()
1670 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_get_portcounters_ext()
1772 u32 counter_select = (be32_to_cpu(pmp->mad_hdr.attr_mod) >> 24) & 0xFF; in pma_set_portcounters_cong()
1884 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && in process_subn()
2017 if (pmp->mad_hdr.class_version != 1) { in process_perf()
2018 pmp->mad_hdr.status |= IB_SMP_UNSUP_VERSION; in process_perf()
2023 switch (pmp->mad_hdr.method) { in process_perf()
2025 switch (pmp->mad_hdr.attr_id) { in process_perf()
2048 pmp->mad_hdr.status |= IB_SMP_UNSUP_METH_ATTR; in process_perf()
2054 switch (pmp->mad_hdr.attr_id) { in process_perf()
2068 pmp->mad_hdr.status |= IB_SMP_UNSUP_METH_ATTR; in process_perf()
2084 pmp->mad_hdr.status |= IB_SMP_UNSUP_METHOD; in process_perf()
2419 switch (in_mad->mad_hdr.mgmt_class) { in qib_process_mad()