Home
last modified time | relevance | path

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

/trueos/sys/ofed/drivers/infiniband/core/
HDmad_rmpp.c559 static int send_next_seg(struct ib_mad_send_wr_private *mad_send_wr) in send_next_seg() argument
565 rmpp_mad = mad_send_wr->send_buf.mad; in send_next_seg()
567 rmpp_mad->rmpp_hdr.seg_num = cpu_to_be32(++mad_send_wr->seg_num); in send_next_seg()
569 if (mad_send_wr->seg_num == 1) { in send_next_seg()
571 paylen = mad_send_wr->send_buf.seg_count * IB_MGMT_RMPP_DATA - in send_next_seg()
572 mad_send_wr->pad; in send_next_seg()
575 if (mad_send_wr->seg_num == mad_send_wr->send_buf.seg_count) { in send_next_seg()
577 paylen = IB_MGMT_RMPP_DATA - mad_send_wr->pad; in send_next_seg()
582 timeout = mad_send_wr->send_buf.timeout_ms; in send_next_seg()
584 mad_send_wr->timeout = msecs_to_jiffies(2000); in send_next_seg()
[all …]
HDmad.c684 struct ib_mad_send_wr_private *mad_send_wr) in handle_outgoing_dr_smp() argument
687 struct ib_smp *smp = mad_send_wr->send_buf.mad; in handle_outgoing_dr_smp()
696 struct ib_send_wr *send_wr = &mad_send_wr->send_wr; in handle_outgoing_dr_smp()
794 local->mad_send_wr = mad_send_wr; in handle_outgoing_dr_smp()
820 static void free_send_rmpp_list(struct ib_mad_send_wr_private *mad_send_wr) in free_send_rmpp_list() argument
824 list_for_each_entry_safe(s, t, &mad_send_wr->rmpp_list, list) { in free_send_rmpp_list()
878 struct ib_mad_send_wr_private *mad_send_wr; in ib_create_send_mad() local
893 buf = kzalloc(sizeof *mad_send_wr + size, gfp_mask); in ib_create_send_mad()
897 mad_send_wr = buf + size; in ib_create_send_mad()
898 INIT_LIST_HEAD(&mad_send_wr->rmpp_list); in ib_create_send_mad()
[all …]
HDmad_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);
HDmad_priv.h156 struct ib_mad_send_wr_private *mad_send_wr; member
217 int ib_send_mad(struct ib_mad_send_wr_private *mad_send_wr);
223 void ib_mad_complete_send_wr(struct ib_mad_send_wr_private *mad_send_wr,
226 void ib_mark_mad_done(struct ib_mad_send_wr_private *mad_send_wr);
228 void ib_reset_mad_timeout(struct ib_mad_send_wr_private *mad_send_wr,
HDagent.c89 struct ib_mad_send_wr_private *mad_send_wr; in agent_send_response() local
121 mad_send_wr = container_of(send_buf, in agent_send_response()
124 mad_send_wr->send_wr.wr.ud.port_num = port_num; in agent_send_response()