Searched refs:mad_wc (Results 1 – 2 of 2) sorted by relevance
/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 450 struct ib_mad_send_wc *mad_wc) in srpt_mad_send_handler() argument 452 ib_destroy_ah(mad_wc->send_buf->ah); in srpt_mad_send_handler() 453 ib_free_send_mad(mad_wc->send_buf); in srpt_mad_send_handler() 460 struct ib_mad_recv_wc *mad_wc) in srpt_mad_recv_handler() argument 467 if (!mad_wc || !mad_wc->recv_buf.mad) in srpt_mad_recv_handler() 470 ah = ib_create_ah_from_wc(mad_agent->qp->pd, mad_wc->wc, in srpt_mad_recv_handler() 471 mad_wc->recv_buf.grh, mad_agent->port_num); in srpt_mad_recv_handler() 477 rsp = ib_create_send_mad(mad_agent, mad_wc->wc->src_qp, in srpt_mad_recv_handler() 478 mad_wc->wc->pkey_index, 0, in srpt_mad_recv_handler() 487 memcpy(dm_mad, mad_wc->recv_buf.mad, sizeof *dm_mad); in srpt_mad_recv_handler() [all …]
|
/drivers/infiniband/core/ |
D | mad.c | 737 struct ib_wc mad_wc; in handle_outgoing_dr_smp() local 785 send_wr->wr.ud.port_num, &mad_wc); in handle_outgoing_dr_smp() 788 ret = device->process_mad(device, 0, port_num, &mad_wc, NULL, in handle_outgoing_dr_smp()
|