Home
last modified time | relevance | path

Searched refs:mad_wc (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/infiniband/ulp/srpt/
Dib_srpt.c449 struct ib_mad_send_wc *mad_wc) in srpt_mad_send_handler() argument
451 ib_destroy_ah(mad_wc->send_buf->ah); in srpt_mad_send_handler()
452 ib_free_send_mad(mad_wc->send_buf); in srpt_mad_send_handler()
459 struct ib_mad_recv_wc *mad_wc) in srpt_mad_recv_handler() argument
466 if (!mad_wc || !mad_wc->recv_buf.mad) in srpt_mad_recv_handler()
469 ah = ib_create_ah_from_wc(mad_agent->qp->pd, mad_wc->wc, in srpt_mad_recv_handler()
470 mad_wc->recv_buf.grh, mad_agent->port_num); in srpt_mad_recv_handler()
476 rsp = ib_create_send_mad(mad_agent, mad_wc->wc->src_qp, in srpt_mad_recv_handler()
477 mad_wc->wc->pkey_index, 0, in srpt_mad_recv_handler()
486 memcpy(dm_mad, mad_wc->recv_buf.mad, sizeof *dm_mad); in srpt_mad_recv_handler()
[all …]
/linux-3.4.99/drivers/infiniband/core/
Dmad.c689 struct ib_wc mad_wc; in handle_outgoing_dr_smp() local
737 send_wr->wr.ud.port_num, &mad_wc); in handle_outgoing_dr_smp()
740 ret = device->process_mad(device, 0, port_num, &mad_wc, NULL, in handle_outgoing_dr_smp()