Searched refs:resp_hdr (Results 1 – 2 of 2) sorted by relevance
964 mana_verify_resp_hdr(const struct gdma_resp_hdr *resp_hdr, in mana_verify_resp_hdr() argument968 if (resp_hdr->response.msg_type != expected_code) in mana_verify_resp_hdr()971 if (resp_hdr->response.msg_version < GDMA_MESSAGE_V1) in mana_verify_resp_hdr()974 if (resp_hdr->response.msg_size < min_size) in mana_verify_resp_hdr()
2068 struct ib_mad_hdr *resp_hdr = (struct ib_mad_hdr *)response->mad; in generate_unmatched_resp() local2076 resp_hdr->method = IB_MGMT_METHOD_GET_RESP; in generate_unmatched_resp()2077 resp_hdr->status = cpu_to_be16(IB_MGMT_MAD_STATUS_UNSUPPORTED_METHOD_ATTRIB); in generate_unmatched_resp()2079 resp_hdr->status |= IB_SMP_DIRECTION; in generate_unmatched_resp()