Searched refs:mad_recv_wc (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/drivers/infiniband/core/ |
D | mad_rmpp.c | 286 struct ib_mad_recv_wc *mad_recv_wc) in create_rmpp_recv() argument 296 mad_recv_wc->wc, in create_rmpp_recv() 297 mad_recv_wc->recv_buf.grh, in create_rmpp_recv() 310 rmpp_recv->rmpp_wc = mad_recv_wc; in create_rmpp_recv() 311 rmpp_recv->cur_seg_buf = &mad_recv_wc->recv_buf; in create_rmpp_recv() 317 mad_hdr = &mad_recv_wc->recv_buf.mad->mad_hdr; in create_rmpp_recv() 319 rmpp_recv->src_qp = mad_recv_wc->wc->src_qp; in create_rmpp_recv() 320 rmpp_recv->slid = mad_recv_wc->wc->slid; in create_rmpp_recv() 333 struct ib_mad_recv_wc *mad_recv_wc) in find_rmpp_recv() argument 336 struct ib_mad_hdr *mad_hdr = &mad_recv_wc->recv_buf.mad->mad_hdr; in find_rmpp_recv() [all …]
|
D | cm.c | 241 struct ib_mad_recv_wc *mad_recv_wc; /* Received MADs */ member 378 struct ib_mad_recv_wc *mad_recv_wc) in cm_alloc_response_msg_no_ah() argument 380 return ib_create_send_mad(port->mad_agent, 1, mad_recv_wc->wc->pkey_index, in cm_alloc_response_msg_no_ah() 387 struct ib_mad_recv_wc *mad_recv_wc, in cm_create_response_msg_ah() argument 392 ah = ib_create_ah_from_wc(port->mad_agent->qp->pd, mad_recv_wc->wc, in cm_create_response_msg_ah() 393 mad_recv_wc->recv_buf.grh, port->port_num); in cm_create_response_msg_ah() 411 struct ib_mad_recv_wc *mad_recv_wc, in cm_alloc_response_msg() argument 417 m = cm_alloc_response_msg_no_ah(port, mad_recv_wc); in cm_alloc_response_msg() 421 ret = cm_create_response_msg_ah(port, mad_recv_wc, m); in cm_alloc_response_msg() 909 if (work->mad_recv_wc) in cm_free_work() [all …]
|
D | user_mad.c | 230 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 …]
|
D | mad_rmpp.h | 47 struct ib_mad_recv_wc *mad_recv_wc);
|
D | mad.c | 736 struct ib_mad_recv_wc *mad_recv_wc, in snoop_recv() argument 753 mad_recv_wc); in snoop_recv() 1376 void ib_free_recv_mad(struct ib_mad_recv_wc *mad_recv_wc) in ib_free_recv_mad() argument 1384 list_splice_init(&mad_recv_wc->rmpp_list, &free_list); in ib_free_recv_mad() 1388 mad_recv_wc = container_of(mad_recv_buf, struct ib_mad_recv_wc, in ib_free_recv_mad() 1390 mad_priv_hdr = container_of(mad_recv_wc, in ib_free_recv_mad() 2020 struct ib_mad_recv_wc *mad_recv_wc) in ib_mad_complete_recv() argument 2027 INIT_LIST_HEAD(&mad_recv_wc->rmpp_list); in ib_mad_complete_recv() 2029 mad_recv_wc->wc->pkey_index); in ib_mad_complete_recv() 2031 ib_free_recv_mad(mad_recv_wc); in ib_mad_complete_recv() [all …]
|
D | mad_priv.h | 216 const struct ib_mad_recv_wc *mad_recv_wc);
|
D | sa_query.c | 2195 struct ib_mad_recv_wc *mad_recv_wc) in recv_handler() argument 2204 if (mad_recv_wc->wc->status == IB_WC_SUCCESS) in recv_handler() 2206 mad_recv_wc->recv_buf.mad->mad_hdr.status ? in recv_handler() 2208 (struct ib_sa_mad *) mad_recv_wc->recv_buf.mad); in recv_handler() 2213 ib_free_recv_mad(mad_recv_wc); in recv_handler()
|
/Linux-v5.4/include/rdma/ |
D | ib_mad.h | 589 struct ib_mad_recv_wc *mad_recv_wc); 792 void ib_free_recv_mad(struct ib_mad_recv_wc *mad_recv_wc);
|