Lines Matching refs:mad_send_wc
605 struct ib_mad_send_wc *mad_send_wc, in snoop_send() argument
622 send_buf, mad_send_wc); in snoop_send()
1801 struct ib_mad_send_wc mad_send_wc; in ib_mad_complete_recv() local
1834 mad_send_wc.status = IB_WC_SUCCESS; in ib_mad_complete_recv()
1835 mad_send_wc.vendor_err = 0; in ib_mad_complete_recv()
1836 mad_send_wc.send_buf = &mad_send_wr->send_buf; in ib_mad_complete_recv()
1837 ib_mad_complete_send_wr(mad_send_wr, &mad_send_wc); in ib_mad_complete_recv()
2069 struct ib_mad_send_wc *mad_send_wc) in ib_mad_complete_send_wr() argument
2078 ret = ib_process_rmpp_send_wc(mad_send_wr, mad_send_wc); in ib_mad_complete_send_wr()
2084 if (mad_send_wc->status != IB_WC_SUCCESS && in ib_mad_complete_send_wr()
2086 mad_send_wr->status = mad_send_wc->status; in ib_mad_complete_send_wr()
2104 mad_send_wc->status = mad_send_wr->status; in ib_mad_complete_send_wr()
2106 ib_rmpp_send_handler(mad_send_wc); in ib_mad_complete_send_wr()
2109 mad_send_wc); in ib_mad_complete_send_wr()
2126 struct ib_mad_send_wc mad_send_wc; in ib_mad_send_done_handler() local
2158 mad_send_wc.send_buf = &mad_send_wr->send_buf; in ib_mad_send_done_handler()
2159 mad_send_wc.status = wc->status; in ib_mad_send_done_handler()
2160 mad_send_wc.vendor_err = wc->vendor_err; in ib_mad_send_done_handler()
2162 snoop_send(qp_info, &mad_send_wr->send_buf, &mad_send_wc, in ib_mad_send_done_handler()
2164 ib_mad_complete_send_wr(mad_send_wr, &mad_send_wc); in ib_mad_send_done_handler()
2284 struct ib_mad_send_wc mad_send_wc; in cancel_mads() local
2303 mad_send_wc.status = IB_WC_WR_FLUSH_ERR; in cancel_mads()
2304 mad_send_wc.vendor_err = 0; in cancel_mads()
2308 mad_send_wc.send_buf = &mad_send_wr->send_buf; in cancel_mads()
2311 &mad_send_wc); in cancel_mads()
2386 struct ib_mad_send_wc mad_send_wc; in local_completions() local
2439 mad_send_wc.status = IB_WC_SUCCESS; in local_completions()
2440 mad_send_wc.vendor_err = 0; in local_completions()
2441 mad_send_wc.send_buf = &local->mad_send_wr->send_buf; in local_completions()
2445 &mad_send_wc, IB_MAD_SNOOP_SEND_COMPLETIONS); in local_completions()
2447 &mad_send_wc); in local_completions()
2498 struct ib_mad_send_wc mad_send_wc; in timeout_sends() local
2503 mad_send_wc.vendor_err = 0; in timeout_sends()
2529 mad_send_wc.status = IB_WC_RESP_TIMEOUT_ERR; in timeout_sends()
2531 mad_send_wc.status = mad_send_wr->status; in timeout_sends()
2532 mad_send_wc.send_buf = &mad_send_wr->send_buf; in timeout_sends()
2534 &mad_send_wc); in timeout_sends()