From 09b04222e3a916cea8e03ecedd10b83d60ff1aa4 Mon Sep 17 00:00:00 2001 From: Wade Fife Date: Mon, 15 Nov 2021 14:27:24 -0600 Subject: tools: Add missing fields to CHDR dissector - Add data packet payload field - Add metadata support - Add missing management fields (OpsPending, ExtendedInfo). - Add missing control fields (byte_enable, data, has_time) - Update offsets for management OpPayload fields. - Make the field names more consistent, readable, and consistent with the RFNoC specification. - Display value of fields in addition to name. - Fix timestamp, eob, and eov offsets --- host/include/uhd/rfnoc/chdr_types.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'host/include') diff --git a/host/include/uhd/rfnoc/chdr_types.hpp b/host/include/uhd/rfnoc/chdr_types.hpp index 7b64bc9a0..e6c5e3912 100644 --- a/host/include/uhd/rfnoc/chdr_types.hpp +++ b/host/include/uhd/rfnoc/chdr_types.hpp @@ -708,6 +708,9 @@ public: mgmt_op_t(const mgmt_op_t& rhs) = default; //! Get the ops pending for this transaction + // Note that ops_pending is not used by UHD, since it can infer this value + // from the ops vector in mgmt_hop_t. It is needed only by the CHDR + // dissector. inline uint8_t get_ops_pending() const { return _ops_pending; -- cgit v1.2.3