Lines Matching defs:mad_hdr
123 struct ib_mad_hdr mad_hdr;
156 ehca_dbg(ibdev, "method=%x", in_perf->mad_hdr.method);
160 if (in_perf->mad_hdr.class_version != 1) {
162 in_perf->mad_hdr.class_version);
163 out_perf->mad_hdr.status = IB_MAD_STATUS_UNSUP_VERSION;
167 switch (in_perf->mad_hdr.method) {
171 out_perf->mad_hdr.attr_id = IB_PMA_CLASS_PORT_INFO;
172 out_perf->mad_hdr.status = IB_MAD_STATUS_REDIRECT;
209 out_perf->mad_hdr.status = IB_MAD_STATUS_UNSUP_METHOD;
214 out_perf->mad_hdr.method = IB_MGMT_METHOD_GET_RESP;
229 if (in_mad->mad_hdr.mgmt_class != IB_MGMT_CLASS_PERF_MGMT)