Home
last modified time | relevance | path

Searched refs:mad_send_wr (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/infiniband/core/
Dmad_rmpp.c576 static int send_next_seg(struct ib_mad_send_wr_private *mad_send_wr) in send_next_seg() argument
582 rmpp_mad = mad_send_wr->send_buf.mad; in send_next_seg()
584 rmpp_mad->rmpp_hdr.seg_num = cpu_to_be32(++mad_send_wr->seg_num); in send_next_seg()
586 if (mad_send_wr->seg_num == 1) { in send_next_seg()
588 paylen = (mad_send_wr->send_buf.seg_count * in send_next_seg()
589 mad_send_wr->send_buf.seg_rmpp_size) - in send_next_seg()
590 mad_send_wr->pad; in send_next_seg()
593 if (mad_send_wr->seg_num == mad_send_wr->send_buf.seg_count) { in send_next_seg()
595 paylen = mad_send_wr->send_buf.seg_rmpp_size - mad_send_wr->pad; in send_next_seg()
600 timeout = mad_send_wr->send_buf.timeout_ms; in send_next_seg()
[all …]
Dmad.c58 static void create_mad_addr_info(struct ib_mad_send_wr_private *mad_send_wr, in create_mad_addr_info() argument
65 struct ib_ud_wr *wr = &mad_send_wr->send_wr; in create_mad_addr_info()
809 struct ib_mad_send_wr_private *mad_send_wr) in handle_outgoing_dr_smp() argument
812 struct ib_smp *smp = mad_send_wr->send_buf.mad; in handle_outgoing_dr_smp()
822 struct ib_ud_wr *send_wr = &mad_send_wr->send_wr; in handle_outgoing_dr_smp()
909 mad_wc.byte_len = mad_send_wr->send_buf.hdr_len in handle_outgoing_dr_smp()
910 + mad_send_wr->send_buf.data_len in handle_outgoing_dr_smp()
964 local->mad_send_wr = mad_send_wr; in handle_outgoing_dr_smp()
966 local->mad_send_wr->send_wr.pkey_index = out_mad_pkey_index; in handle_outgoing_dr_smp()
994 static void free_send_rmpp_list(struct ib_mad_send_wr_private *mad_send_wr) in free_send_rmpp_list() argument
[all …]
Dmad_rmpp.h43 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);
Dmad_priv.h153 struct ib_mad_send_wr_private *mad_send_wr; member
212 int ib_send_mad(struct ib_mad_send_wr_private *mad_send_wr);
218 void ib_mad_complete_send_wr(struct ib_mad_send_wr_private *mad_send_wr,
221 void ib_mark_mad_done(struct ib_mad_send_wr_private *mad_send_wr);
223 void ib_reset_mad_timeout(struct ib_mad_send_wr_private *mad_send_wr,
Dagent.c89 struct ib_mad_send_wr_private *mad_send_wr; in agent_send_response() local
126 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()
/Linux-v5.4/include/trace/events/
Dib_mad.h18 static void create_mad_addr_info(struct ib_mad_send_wr_private *mad_send_wr,