Searched refs:rmpp_hdr (Results 1 – 6 of 6) sorted by relevance
120 ack->rmpp_hdr.rmpp_type = IB_MGMT_RMPP_TYPE_ACK; in format_ack()121 ib_set_rmpp_flags(&ack->rmpp_hdr, IB_MGMT_RMPP_FLAG_ACTIVE); in format_ack()125 ack->rmpp_hdr.seg_num = cpu_to_be32(rmpp_recv->seg_num); in format_ack()126 ack->rmpp_hdr.paylen_newwin = cpu_to_be32(rmpp_recv->newwin); in format_ack()193 ib_set_rmpp_flags(&rmpp_mad->rmpp_hdr, IB_MGMT_RMPP_FLAG_ACTIVE); in ack_ds_ack()194 rmpp_mad->rmpp_hdr.seg_num = 0; in ack_ds_ack()195 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 …]
823 rmpp_mad->rmpp_hdr.rmpp_version = send_wr->mad_agent_priv-> in alloc_send_rmpp_list()825 rmpp_mad->rmpp_hdr.rmpp_type = IB_MGMT_RMPP_TYPE_DATA; in alloc_send_rmpp_list()826 ib_set_rmpp_flags(&rmpp_mad->rmpp_hdr, IB_MGMT_RMPP_FLAG_ACTIVE); in alloc_send_rmpp_list()1668 !(ib_get_rmpp_flags(&rmpp_mad->rmpp_hdr) & in is_rmpp_data_mad()1670 (rmpp_mad->rmpp_hdr.rmpp_type == IB_MGMT_RMPP_TYPE_DATA); in is_rmpp_data_mad()1826 && (ib_get_rmpp_flags(&((struct ib_rmpp_mad *)mad_recv_wc->recv_buf.mad)->rmpp_hdr) in ib_mad_complete_recv()
569 rmpp_active = ib_get_rmpp_flags(&rmpp_mad->rmpp_hdr) & in ib_umad_write()623 && (ib_get_rmpp_flags(&rmpp_mad->rmpp_hdr) & IB_MGMT_RMPP_FLAG_ACTIVE)) { in ib_umad_write()
188 struct ib_rmpp_hdr rmpp_hdr; member194 struct ib_rmpp_hdr rmpp_hdr; member200 struct ib_rmpp_hdr rmpp_hdr; member207 struct ib_rmpp_hdr rmpp_hdr; member487 static inline u8 ib_get_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr) in ib_get_rmpp_resptime() argument489 return rmpp_hdr->rmpp_rtime_flags >> 3; in ib_get_rmpp_resptime()496 static inline u8 ib_get_rmpp_flags(struct ib_rmpp_hdr *rmpp_hdr) in ib_get_rmpp_flags() argument498 return rmpp_hdr->rmpp_rtime_flags & 0x7; in ib_get_rmpp_flags()506 static inline void ib_set_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr, u8 rtime) in ib_set_rmpp_resptime() argument508 rmpp_hdr->rmpp_rtime_flags = ib_get_rmpp_flags(rmpp_hdr) | (rtime << 3); in ib_set_rmpp_resptime()[all …]
476 struct ib_rmpp_hdr rmpp_hdr; member518 struct ib_rmpp_hdr rmpp_hdr; member
80 struct ib_rmpp_hdr rmpp_hdr; member