Home
last modified time | relevance | path

Searched refs:mad_recv_wc (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/drivers/infiniband/core/
Dmad_rmpp.c277 struct ib_mad_recv_wc *mad_recv_wc) in create_rmpp_recv() argument
287 mad_recv_wc->wc, in create_rmpp_recv()
288 mad_recv_wc->recv_buf.grh, in create_rmpp_recv()
301 rmpp_recv->rmpp_wc = mad_recv_wc; in create_rmpp_recv()
302 rmpp_recv->cur_seg_buf = &mad_recv_wc->recv_buf; in create_rmpp_recv()
308 mad_hdr = &mad_recv_wc->recv_buf.mad->mad_hdr; in create_rmpp_recv()
310 rmpp_recv->src_qp = mad_recv_wc->wc->src_qp; in create_rmpp_recv()
311 rmpp_recv->slid = mad_recv_wc->wc->slid; in create_rmpp_recv()
324 struct ib_mad_recv_wc *mad_recv_wc) in find_rmpp_recv() argument
327 struct ib_mad_hdr *mad_hdr = &mad_recv_wc->recv_buf.mad->mad_hdr; in find_rmpp_recv()
[all …]
Dcm.c186 struct ib_mad_recv_wc *mad_recv_wc; /* Received MADs */ member
360 struct ib_mad_recv_wc *mad_recv_wc) in cm_alloc_response_msg_no_ah() argument
362 return ib_create_send_mad(port->mad_agent, 1, mad_recv_wc->wc->pkey_index, in cm_alloc_response_msg_no_ah()
369 struct ib_mad_recv_wc *mad_recv_wc, in cm_create_response_msg_ah() argument
374 ah = ib_create_ah_from_wc(port->mad_agent->qp->pd, mad_recv_wc->wc, in cm_create_response_msg_ah()
375 mad_recv_wc->recv_buf.grh, port->port_num); in cm_create_response_msg_ah()
384 struct ib_mad_recv_wc *mad_recv_wc, in cm_alloc_response_msg() argument
390 m = cm_alloc_response_msg_no_ah(port, mad_recv_wc); in cm_alloc_response_msg()
394 ret = cm_create_response_msg_ah(port, mad_recv_wc, m); in cm_alloc_response_msg()
890 if (work->mad_recv_wc) in cm_free_work()
[all …]
Duser_mad.c230 struct ib_mad_recv_wc *mad_recv_wc) in recv_handler() argument
235 if (mad_recv_wc->wc->status != IB_WC_SUCCESS) in recv_handler()
242 packet->length = mad_recv_wc->mad_len; in recv_handler()
243 packet->recv_wc = mad_recv_wc; in recv_handler()
246 packet->mad.hdr.length = hdr_size(file) + mad_recv_wc->mad_len; in recv_handler()
247 packet->mad.hdr.qpn = cpu_to_be32(mad_recv_wc->wc->src_qp); in recv_handler()
254 mad_recv_wc->wc->slid); in recv_handler()
256 packet->mad.hdr.lid = ib_lid_be16(mad_recv_wc->wc->slid); in recv_handler()
257 packet->mad.hdr.sl = mad_recv_wc->wc->sl; in recv_handler()
258 packet->mad.hdr.path_bits = mad_recv_wc->wc->dlid_path_bits; in recv_handler()
[all …]
Dmad_rmpp.h47 struct ib_mad_recv_wc *mad_recv_wc);
Dmad.c1164 void ib_free_recv_mad(struct ib_mad_recv_wc *mad_recv_wc) in ib_free_recv_mad() argument
1172 list_splice_init(&mad_recv_wc->rmpp_list, &free_list); in ib_free_recv_mad()
1176 mad_recv_wc = container_of(mad_recv_buf, struct ib_mad_recv_wc, in ib_free_recv_mad()
1178 mad_priv_hdr = container_of(mad_recv_wc, in ib_free_recv_mad()
1787 struct ib_mad_recv_wc *mad_recv_wc) in ib_mad_complete_recv() argument
1794 INIT_LIST_HEAD(&mad_recv_wc->rmpp_list); in ib_mad_complete_recv()
1796 mad_recv_wc->wc->pkey_index); in ib_mad_complete_recv()
1798 ib_free_recv_mad(mad_recv_wc); in ib_mad_complete_recv()
1803 list_add(&mad_recv_wc->recv_buf.list, &mad_recv_wc->rmpp_list); in ib_mad_complete_recv()
1805 mad_recv_wc = ib_process_rmpp_recv_wc(mad_agent_priv, in ib_mad_complete_recv()
[all …]
Dmad_priv.h215 const struct ib_mad_recv_wc *mad_recv_wc);
Dsa_query.c1991 struct ib_mad_recv_wc *mad_recv_wc) in recv_handler() argument
2000 if (mad_recv_wc->wc->status == IB_WC_SUCCESS) in recv_handler()
2002 mad_recv_wc->recv_buf.mad->mad_hdr.status ? in recv_handler()
2004 (struct ib_sa_mad *) mad_recv_wc->recv_buf.mad); in recv_handler()
2009 ib_free_recv_mad(mad_recv_wc); in recv_handler()
/linux-5.19.10/include/rdma/
Dib_mad.h548 struct ib_mad_recv_wc *mad_recv_wc);
719 void ib_free_recv_mad(struct ib_mad_recv_wc *mad_recv_wc);