Lines Matching defs:mad_recv_wc
622 struct ib_mad_recv_wc *mad_recv_wc,
639 mad_recv_wc);
1148 void ib_free_recv_mad(struct ib_mad_recv_wc *mad_recv_wc)
1156 list_splice_init(&mad_recv_wc->rmpp_list, &free_list);
1160 mad_recv_wc = container_of(mad_recv_buf, struct ib_mad_recv_wc,
1162 mad_priv_hdr = container_of(mad_recv_wc,
1787 struct ib_mad_recv_wc *mad_recv_wc)
1793 INIT_LIST_HEAD(&mad_recv_wc->rmpp_list);
1794 list_add(&mad_recv_wc->recv_buf.list, &mad_recv_wc->rmpp_list);
1796 mad_recv_wc = ib_process_rmpp_recv_wc(mad_agent_priv,
1797 mad_recv_wc);
1798 if (!mad_recv_wc) {
1805 if (ib_response_mad(mad_recv_wc->recv_buf.mad)) {
1807 mad_send_wr = ib_find_send_mad(mad_agent_priv, mad_recv_wc);
1810 ib_free_recv_mad(mad_recv_wc);
1818 mad_recv_wc->wc->wr_id = (unsigned long) &mad_send_wr->send_buf;
1820 mad_recv_wc);
1829 mad_recv_wc);