Home
last modified time | relevance | path

Searched refs:rmpp_hdr (Results 1 – 5 of 5) sorted by relevance

/linux-3.4.99/drivers/infiniband/core/
Dmad_rmpp.c123 ack->rmpp_hdr.rmpp_type = IB_MGMT_RMPP_TYPE_ACK; in format_ack()
124 ib_set_rmpp_flags(&ack->rmpp_hdr, IB_MGMT_RMPP_FLAG_ACTIVE); in format_ack()
128 ack->rmpp_hdr.seg_num = cpu_to_be32(rmpp_recv->seg_num); in format_ack()
129 ack->rmpp_hdr.paylen_newwin = cpu_to_be32(rmpp_recv->newwin); in format_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()
227 rmpp_mad->rmpp_hdr.rmpp_version = IB_MGMT_RMPP_VERSION; in nack_recv()
228 rmpp_mad->rmpp_hdr.rmpp_type = IB_MGMT_RMPP_TYPE_ABORT; in nack_recv()
229 ib_set_rmpp_flags(&rmpp_mad->rmpp_hdr, IB_MGMT_RMPP_FLAG_ACTIVE); in nack_recv()
[all …]
Dmad.c854 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()
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()
Duser_mad.c512 rmpp_active = ib_get_rmpp_flags(&rmpp_mad->rmpp_hdr) & in ib_umad_write()
/linux-3.4.99/include/rdma/
Dib_mad.h185 struct ib_rmpp_hdr rmpp_hdr; member
191 struct ib_rmpp_hdr rmpp_hdr; member
198 struct ib_rmpp_hdr rmpp_hdr; member
271 static inline u8 ib_get_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr) in ib_get_rmpp_resptime() argument
273 return rmpp_hdr->rmpp_rtime_flags >> 3; in ib_get_rmpp_resptime()
280 static inline u8 ib_get_rmpp_flags(struct ib_rmpp_hdr *rmpp_hdr) in ib_get_rmpp_flags() argument
282 return rmpp_hdr->rmpp_rtime_flags & 0x7; in ib_get_rmpp_flags()
290 static inline void ib_set_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr, u8 rtime) in ib_set_rmpp_resptime() argument
292 rmpp_hdr->rmpp_rtime_flags = ib_get_rmpp_flags(rmpp_hdr) | (rtime << 3); in ib_set_rmpp_resptime()
300 static inline void ib_set_rmpp_flags(struct ib_rmpp_hdr *rmpp_hdr, u8 flags) in ib_set_rmpp_flags() argument
[all …]
/linux-3.4.99/drivers/infiniband/ulp/srpt/
Dib_dm_mad.h80 struct ib_rmpp_hdr rmpp_hdr; member