diff options
author | Wade Fife <wade.fife@ettus.com> | 2021-11-15 14:27:24 -0600 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-12-08 12:09:39 -0800 |
commit | 09b04222e3a916cea8e03ecedd10b83d60ff1aa4 (patch) | |
tree | ed0f646eede0dc21ba543d055adf52b7beea042d /host | |
parent | 551e1588ba2119a7a984f3482caff4fb1822c908 (diff) | |
download | uhd-09b04222e3a916cea8e03ecedd10b83d60ff1aa4.tar.gz uhd-09b04222e3a916cea8e03ecedd10b83d60ff1aa4.tar.bz2 uhd-09b04222e3a916cea8e03ecedd10b83d60ff1aa4.zip |
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
Diffstat (limited to 'host')
-rw-r--r-- | host/include/uhd/rfnoc/chdr_types.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; |