Searched refs:mad_send_wr (Results 1 – 5 of 5) sorted by relevance
567 static int send_next_seg(struct ib_mad_send_wr_private *mad_send_wr) in send_next_seg() argument573 rmpp_mad = mad_send_wr->send_buf.mad; in send_next_seg()575 rmpp_mad->rmpp_hdr.seg_num = cpu_to_be32(++mad_send_wr->seg_num); in send_next_seg()577 if (mad_send_wr->seg_num == 1) { in send_next_seg()579 paylen = (mad_send_wr->send_buf.seg_count * in send_next_seg()580 mad_send_wr->send_buf.seg_rmpp_size) - in send_next_seg()581 mad_send_wr->pad; in send_next_seg()584 if (mad_send_wr->seg_num == mad_send_wr->send_buf.seg_count) { in send_next_seg()586 paylen = mad_send_wr->send_buf.seg_rmpp_size - mad_send_wr->pad; in send_next_seg()591 timeout = mad_send_wr->send_buf.timeout_ms; in send_next_seg()[all …]
58 static void create_mad_addr_info(struct ib_mad_send_wr_private *mad_send_wr, in create_mad_addr_info() argument62 struct ib_ud_wr *wr = &mad_send_wr->send_wr; in create_mad_addr_info()594 struct ib_mad_send_wr_private *mad_send_wr) in handle_outgoing_dr_smp() argument597 struct ib_smp *smp = mad_send_wr->send_buf.mad; in handle_outgoing_dr_smp()607 struct ib_ud_wr *send_wr = &mad_send_wr->send_wr; in handle_outgoing_dr_smp()694 mad_wc.byte_len = mad_send_wr->send_buf.hdr_len in handle_outgoing_dr_smp()695 + mad_send_wr->send_buf.data_len in handle_outgoing_dr_smp()748 local->mad_send_wr = mad_send_wr; in handle_outgoing_dr_smp()750 local->mad_send_wr->send_wr.pkey_index = out_mad_pkey_index; in handle_outgoing_dr_smp()778 static void free_send_rmpp_list(struct ib_mad_send_wr_private *mad_send_wr) in free_send_rmpp_list() argument[all …]
152 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()