Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/core/
Dmad_rmpp.c120 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 …]
Dmad.c823 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()
Duser_mad.c569 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()
/kernel/linux/linux-5.10/include/rdma/
Dib_mad.h188 struct ib_rmpp_hdr rmpp_hdr; member
194 struct ib_rmpp_hdr rmpp_hdr; member
200 struct ib_rmpp_hdr rmpp_hdr; member
207 struct ib_rmpp_hdr rmpp_hdr; member
487 static inline u8 ib_get_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr) in ib_get_rmpp_resptime() argument
489 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() argument
498 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() argument
508 rmpp_hdr->rmpp_rtime_flags = ib_get_rmpp_flags(rmpp_hdr) | (rtime << 3); in ib_set_rmpp_resptime()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_encap.h476 struct ib_rmpp_hdr rmpp_hdr; member
518 struct ib_rmpp_hdr rmpp_hdr; member
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srpt/
Dib_dm_mad.h80 struct ib_rmpp_hdr rmpp_hdr; member