Searched refs:recv_wc (Results 1 – 4 of 4) sorted by relevance
/drivers/infiniband/core/ |
D | mad_rmpp.c | 134 struct ib_mad_recv_wc *recv_wc) in ack_recv() argument 139 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); in ack_recv() 140 msg = ib_create_send_mad(&rmpp_recv->agent->agent, recv_wc->wc->src_qp, in ack_recv() 141 recv_wc->wc->pkey_index, 1, hdr_len, in ack_recv() 146 format_ack(msg, (struct ib_rmpp_mad *) recv_wc->recv_buf.mad, rmpp_recv); in ack_recv() 154 struct ib_mad_recv_wc *recv_wc) in alloc_response_msg() argument 160 ah = ib_create_ah_from_wc(agent->qp->pd, recv_wc->wc, in alloc_response_msg() 161 recv_wc->recv_buf.grh, agent->port_num); in alloc_response_msg() 165 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); in alloc_response_msg() 166 msg = ib_create_send_mad(agent, recv_wc->wc->src_qp, in alloc_response_msg() [all …]
|
D | mad.c | 1172 recv_wc); in ib_free_recv_mad() 1851 response->header.recv_wc.wc = &response->header.wc; in generate_unmatched_resp() 1852 response->header.recv_wc.recv_buf.mad = &response->mad.mad; in generate_unmatched_resp() 1853 response->header.recv_wc.recv_buf.grh = &response->grh; in generate_unmatched_resp() 1891 recv->header.recv_wc.wc = &recv->header.wc; in ib_mad_recv_done_handler() 1892 recv->header.recv_wc.mad_len = sizeof(struct ib_mad); in ib_mad_recv_done_handler() 1893 recv->header.recv_wc.recv_buf.mad = &recv->mad.mad; in ib_mad_recv_done_handler() 1894 recv->header.recv_wc.recv_buf.grh = &recv->grh; in ib_mad_recv_done_handler() 1897 snoop_recv(qp_info, &recv->header.recv_wc, IB_MAD_SNOOP_RECVS); in ib_mad_recv_done_handler() 1941 response->header.recv_wc.wc = &response->header.wc; in ib_mad_recv_done_handler() [all …]
|
D | user_mad.c | 121 struct ib_mad_recv_wc *recv_wc; member 221 packet->recv_wc = mad_recv_wc; in recv_handler() 262 recv_buf = &packet->recv_wc->recv_buf; in copy_recv_mad() 354 if (packet->recv_wc) in ib_umad_read() 365 if (packet->recv_wc) in ib_umad_read() 366 ib_free_recv_mad(packet->recv_wc); in ib_umad_read() 838 if (packet->recv_wc) in ib_umad_close() 839 ib_free_recv_mad(packet->recv_wc); in ib_umad_close()
|
D | mad_priv.h | 74 struct ib_mad_recv_wc recv_wc; member
|