Searched refs:recv_wc (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | mad_rmpp.c | 131 struct ib_mad_recv_wc *recv_wc) in ack_recv() argument 136 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); in ack_recv() 137 msg = ib_create_send_mad(&rmpp_recv->agent->agent, recv_wc->wc->src_qp, in ack_recv() 138 recv_wc->wc->pkey_index, 1, hdr_len, in ack_recv() 144 format_ack(msg, (struct ib_rmpp_mad *) recv_wc->recv_buf.mad, rmpp_recv); in ack_recv() 152 struct ib_mad_recv_wc *recv_wc) in alloc_response_msg() argument 158 ah = ib_create_ah_from_wc(agent->qp->pd, recv_wc->wc, in alloc_response_msg() 159 recv_wc->recv_buf.grh, agent->port_num); in alloc_response_msg() 163 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); in alloc_response_msg() 164 msg = ib_create_send_mad(agent, recv_wc->wc->src_qp, in alloc_response_msg() [all …]
|
D | mad.c | 1183 recv_wc); in ib_free_recv_mad() 1901 response->header.recv_wc.wc = &response->header.wc; in handle_ib_smi() 1902 response->header.recv_wc.recv_buf.mad = (struct ib_mad *)response->mad; in handle_ib_smi() 1903 response->header.recv_wc.recv_buf.grh = &response->grh; in handle_ib_smi() 1928 response->header.recv_wc.wc = &response->header.wc; in generate_unmatched_resp() 1929 response->header.recv_wc.recv_buf.mad = (struct ib_mad *)response->mad; in generate_unmatched_resp() 1930 response->header.recv_wc.recv_buf.grh = &response->grh; in generate_unmatched_resp() 1990 response->header.recv_wc.wc = &response->header.wc; in handle_opa_smi() 1991 response->header.recv_wc.recv_buf.opa_mad = in handle_opa_smi() 1993 response->header.recv_wc.recv_buf.grh = &response->grh; in handle_opa_smi() [all …]
|
D | user_mad.c | 128 struct ib_mad_recv_wc *recv_wc; member 243 packet->recv_wc = mad_recv_wc; in recv_handler() 299 recv_buf = &packet->recv_wc->recv_buf; in copy_recv_mad() 300 seg_size = packet->recv_wc->mad_seg_size; in copy_recv_mad() 410 if (packet->recv_wc) in ib_umad_read() 421 if (packet->recv_wc) in ib_umad_read() 422 ib_free_recv_mad(packet->recv_wc); in ib_umad_read() 1044 if (packet->recv_wc) in ib_umad_close() 1045 ib_free_recv_mad(packet->recv_wc); in ib_umad_close()
|
D | mad_priv.h | 73 struct ib_mad_recv_wc recv_wc; member
|