• Home
  • Raw
  • Download

Lines Matching refs:mad_hdr

120 	memcpy(ack, &data->mad_hdr, msg->hdr_len);  in format_ack()
122 ack->mad_hdr.method ^= IB_MGMT_METHOD_RESP; in format_ack()
139 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); in ack_recv()
165 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); in alloc_response_msg()
193 rmpp_mad->mad_hdr.method ^= IB_MGMT_METHOD_RESP; in ack_ds_ack()
226 rmpp_mad->mad_hdr.method ^= IB_MGMT_METHOD_RESP; in nack_recv()
284 struct ib_mad_hdr *mad_hdr; in create_rmpp_recv() local
312 mad_hdr = &mad_recv_wc->recv_buf.mad->mad_hdr; in create_rmpp_recv()
313 rmpp_recv->tid = mad_hdr->tid; in create_rmpp_recv()
316 rmpp_recv->mgmt_class = mad_hdr->mgmt_class; in create_rmpp_recv()
317 rmpp_recv->class_version = mad_hdr->class_version; in create_rmpp_recv()
318 rmpp_recv->method = mad_hdr->method; in create_rmpp_recv()
330 struct ib_mad_hdr *mad_hdr = &mad_recv_wc->recv_buf.mad->mad_hdr; in find_rmpp_recv() local
333 if (rmpp_recv->tid == mad_hdr->tid && in find_rmpp_recv()
336 rmpp_recv->mgmt_class == mad_hdr->mgmt_class && in find_rmpp_recv()
337 rmpp_recv->class_version == mad_hdr->class_version && in find_rmpp_recv()
338 rmpp_recv->method == mad_hdr->method) in find_rmpp_recv()
437 hdr_size = ib_get_mad_data_offset(rmpp_mad->mad_hdr.mgmt_class); in get_mad_len()
838 struct ib_mad_hdr *mad_hdr = mad_send_wr->send_buf.mad; in init_newwin() local
844 if (!(mad_hdr->method & IB_MGMT_METHOD_RESP)) in init_newwin()
849 if (rmpp_recv->tid != mad_hdr->tid || in init_newwin()
850 rmpp_recv->mgmt_class != mad_hdr->mgmt_class || in init_newwin()
851 rmpp_recv->class_version != mad_hdr->class_version || in init_newwin()