Searched refs:mad_send_wr (Results 1 – 5 of 5) sorted by relevance
575 static int send_next_seg(struct ib_mad_send_wr_private *mad_send_wr) in send_next_seg() argument581 rmpp_mad = mad_send_wr->send_buf.mad; in send_next_seg()583 rmpp_mad->rmpp_hdr.seg_num = cpu_to_be32(++mad_send_wr->seg_num); in send_next_seg()585 if (mad_send_wr->seg_num == 1) { in send_next_seg()587 paylen = (mad_send_wr->send_buf.seg_count * in send_next_seg()588 mad_send_wr->send_buf.seg_rmpp_size) - in send_next_seg()589 mad_send_wr->pad; in send_next_seg()592 if (mad_send_wr->seg_num == mad_send_wr->send_buf.seg_count) { in send_next_seg()594 paylen = mad_send_wr->send_buf.seg_rmpp_size - mad_send_wr->pad; in send_next_seg()599 timeout = mad_send_wr->send_buf.timeout_ms; in send_next_seg()[all …]
765 struct ib_mad_send_wr_private *mad_send_wr) in handle_outgoing_dr_smp() argument768 struct ib_smp *smp = mad_send_wr->send_buf.mad; in handle_outgoing_dr_smp()778 struct ib_ud_wr *send_wr = &mad_send_wr->send_wr; in handle_outgoing_dr_smp()861 mad_wc.byte_len = mad_send_wr->send_buf.hdr_len in handle_outgoing_dr_smp()862 + mad_send_wr->send_buf.data_len in handle_outgoing_dr_smp()916 local->mad_send_wr = mad_send_wr; in handle_outgoing_dr_smp()918 local->mad_send_wr->send_wr.pkey_index = out_mad_pkey_index; in handle_outgoing_dr_smp()946 static void free_send_rmpp_list(struct ib_mad_send_wr_private *mad_send_wr) in free_send_rmpp_list() argument950 list_for_each_entry_safe(s, t, &mad_send_wr->rmpp_list, list) { in free_send_rmpp_list()1009 struct ib_mad_send_wr_private *mad_send_wr; in ib_create_send_mad() local[all …]
151 struct ib_mad_send_wr_private *mad_send_wr; member211 int ib_send_mad(struct ib_mad_send_wr_private *mad_send_wr);217 void ib_mad_complete_send_wr(struct ib_mad_send_wr_private *mad_send_wr,220 void ib_mark_mad_done(struct ib_mad_send_wr_private *mad_send_wr);222 void ib_reset_mad_timeout(struct ib_mad_send_wr_private *mad_send_wr,
43 int ib_send_rmpp_mad(struct ib_mad_send_wr_private *mad_send_wr);49 int ib_process_rmpp_send_wc(struct ib_mad_send_wr_private *mad_send_wr,56 int ib_retry_rmpp(struct ib_mad_send_wr_private *mad_send_wr);
89 struct ib_mad_send_wr_private *mad_send_wr; in agent_send_response() local126 mad_send_wr = container_of(send_buf, in agent_send_response()129 mad_send_wr->send_wr.port_num = port_num; in agent_send_response()