Home
last modified time | relevance | path

Searched refs:rmpp_mad (Results 1 – 4 of 4) sorted by relevance

/drivers/infiniband/core/
Dmad_rmpp.c183 struct ib_rmpp_mad *rmpp_mad; in ack_ds_ack() local
190 rmpp_mad = msg->mad; in ack_ds_ack()
191 memcpy(rmpp_mad, recv_wc->recv_buf.mad, msg->hdr_len); in ack_ds_ack()
193 rmpp_mad->mad_hdr.method ^= IB_MGMT_METHOD_RESP; in ack_ds_ack()
194 ib_set_rmpp_flags(&rmpp_mad->rmpp_hdr, IB_MGMT_RMPP_FLAG_ACTIVE); in ack_ds_ack()
195 rmpp_mad->rmpp_hdr.seg_num = 0; in ack_ds_ack()
196 rmpp_mad->rmpp_hdr.paylen_newwin = cpu_to_be32(1); in ack_ds_ack()
216 struct ib_rmpp_mad *rmpp_mad; in nack_recv() local
223 rmpp_mad = msg->mad; in nack_recv()
224 memcpy(rmpp_mad, recv_wc->recv_buf.mad, msg->hdr_len); in nack_recv()
[all …]
Duser_mad.c445 struct ib_rmpp_mad *rmpp_mad; in ib_umad_write() local
501 rmpp_mad = (struct ib_rmpp_mad *) packet->mad.data; in ib_umad_write()
502 hdr_len = ib_get_mad_data_offset(rmpp_mad->mad_hdr.mgmt_class); in ib_umad_write()
503 if (!ib_is_mad_class_rmpp(rmpp_mad->mad_hdr.mgmt_class)) { in ib_umad_write()
508 rmpp_active = ib_get_rmpp_flags(&rmpp_mad->rmpp_hdr) & in ib_umad_write()
552 rmpp_mad->mad_hdr.tid = *tid; in ib_umad_write()
Dmad_priv.h84 struct ib_rmpp_mad rmpp_mad; member
Dmad.c828 struct ib_rmpp_mad *rmpp_mad = send_buf->mad; in alloc_send_rmpp_list() local
854 rmpp_mad->rmpp_hdr.rmpp_version = send_wr->mad_agent_priv-> in alloc_send_rmpp_list()
856 rmpp_mad->rmpp_hdr.rmpp_type = IB_MGMT_RMPP_TYPE_DATA; in alloc_send_rmpp_list()
857 ib_set_rmpp_flags(&rmpp_mad->rmpp_hdr, IB_MGMT_RMPP_FLAG_ACTIVE); in alloc_send_rmpp_list()
1675 struct ib_rmpp_mad *rmpp_mad; in is_data_mad() local
1677 rmpp_mad = (struct ib_rmpp_mad *)mad_hdr; in is_data_mad()
1679 !(ib_get_rmpp_flags(&rmpp_mad->rmpp_hdr) & in is_data_mad()
1681 (rmpp_mad->rmpp_hdr.rmpp_type == IB_MGMT_RMPP_TYPE_DATA); in is_data_mad()