Searched refs:recv_wc (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/infiniband/core/
H A Dmad_rmpp.c134 struct ib_mad_recv_wc *recv_wc) ack_recv()
139 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); ack_recv()
140 msg = ib_create_send_mad(&rmpp_recv->agent->agent, recv_wc->wc->src_qp, ack_recv()
141 recv_wc->wc->pkey_index, 1, hdr_len, ack_recv()
146 format_ack(msg, (struct ib_rmpp_mad *) recv_wc->recv_buf.mad, rmpp_recv); ack_recv()
154 struct ib_mad_recv_wc *recv_wc) alloc_response_msg()
160 ah = ib_create_ah_from_wc(agent->qp->pd, recv_wc->wc, alloc_response_msg()
161 recv_wc->recv_buf.grh, agent->port_num); alloc_response_msg()
165 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); alloc_response_msg()
166 msg = ib_create_send_mad(agent, recv_wc->wc->src_qp, alloc_response_msg()
167 recv_wc->wc->pkey_index, 1, alloc_response_msg()
180 struct ib_mad_recv_wc *recv_wc) ack_ds_ack()
186 msg = alloc_response_msg(&agent->agent, recv_wc); ack_ds_ack()
191 memcpy(rmpp_mad, recv_wc->recv_buf.mad, msg->hdr_len); ack_ds_ack()
213 struct ib_mad_recv_wc *recv_wc, u8 rmpp_status) nack_recv()
219 msg = alloc_response_msg(&agent->agent, recv_wc); nack_recv()
224 memcpy(rmpp_mad, recv_wc->recv_buf.mad, msg->hdr_len); nack_recv()
133 ack_recv(struct mad_rmpp_recv *rmpp_recv, struct ib_mad_recv_wc *recv_wc) ack_recv() argument
153 alloc_response_msg(struct ib_mad_agent *agent, struct ib_mad_recv_wc *recv_wc) alloc_response_msg() argument
179 ack_ds_ack(struct ib_mad_agent_private *agent, struct ib_mad_recv_wc *recv_wc) ack_ds_ack() argument
212 nack_recv(struct ib_mad_agent_private *agent, struct ib_mad_recv_wc *recv_wc, u8 rmpp_status) nack_recv() argument
H A Dmad.c1237 recv_wc); ib_free_recv_mad()
1933 response->header.recv_wc.wc = &response->header.wc; generate_unmatched_resp()
1934 response->header.recv_wc.recv_buf.mad = &response->mad.mad; generate_unmatched_resp()
1935 response->header.recv_wc.recv_buf.grh = &response->grh; generate_unmatched_resp()
1973 recv->header.recv_wc.wc = &recv->header.wc; ib_mad_recv_done_handler()
1974 recv->header.recv_wc.mad_len = sizeof(struct ib_mad); ib_mad_recv_done_handler()
1975 recv->header.recv_wc.recv_buf.mad = &recv->mad.mad; ib_mad_recv_done_handler()
1976 recv->header.recv_wc.recv_buf.grh = &recv->grh; ib_mad_recv_done_handler()
1979 snoop_recv(qp_info, &recv->header.recv_wc, IB_MAD_SNOOP_RECVS); ib_mad_recv_done_handler()
2023 response->header.recv_wc.wc = &response->header.wc; ib_mad_recv_done_handler()
2024 response->header.recv_wc.recv_buf.mad = &response->mad.mad; ib_mad_recv_done_handler()
2025 response->header.recv_wc.recv_buf.grh = &response->grh; ib_mad_recv_done_handler()
2061 ib_mad_complete_recv(mad_agent, &recv->header.recv_wc); ib_mad_recv_done_handler()
2501 local->mad_priv->header.recv_wc.wc = &wc; local_completions()
2502 local->mad_priv->header.recv_wc.mad_len = local_completions()
2504 INIT_LIST_HEAD(&local->mad_priv->header.recv_wc.rmpp_list); local_completions()
2505 list_add(&local->mad_priv->header.recv_wc.recv_buf.list, local_completions()
2506 &local->mad_priv->header.recv_wc.rmpp_list); local_completions()
2507 local->mad_priv->header.recv_wc.recv_buf.grh = NULL; local_completions()
2508 local->mad_priv->header.recv_wc.recv_buf.mad = local_completions()
2512 &local->mad_priv->header.recv_wc, local_completions()
2516 &local->mad_priv->header.recv_wc); local_completions()
H A Duser_mad.c123 struct ib_mad_recv_wc *recv_wc; member in struct:ib_umad_packet
227 packet->recv_wc = mad_recv_wc; recv_handler()
268 recv_buf = &packet->recv_wc->recv_buf; copy_recv_mad()
360 if (packet->recv_wc) ib_umad_read()
371 if (packet->recv_wc) ib_umad_read()
372 ib_free_recv_mad(packet->recv_wc); ib_umad_read()
980 if (packet->recv_wc) ib_umad_close()
981 ib_free_recv_mad(packet->recv_wc); ib_umad_close()
H A Dmad_priv.h71 struct ib_mad_recv_wc recv_wc; member in struct:ib_mad_private_header

Completed in 143 milliseconds