stream_info_compat.h
Go to the documentation of this file.
44 /***********************************************************************************************/
46 /***********************************************************************************************/
56 /***********************************************************************************************/
58 /***********************************************************************************************/
59 #define NT_INFO_CMD_READ_ADAPTER NT_INFO_CMD_READ_COMPAT_0 //!< Adapter info - the number of sensors, ports, PCI ID and bus ID
72 uint8_t numPhysicalAdapters; //!< The number of physical adapters grouped in this logical adapter
125 enum NtTimestampMethod_e timestampMethod; //!< The timestamp method (SOF/EOF) used by the adapter
138 /***********************************************************************************************/
140 /***********************************************************************************************/
141 #define NT_INFO_CMD_READ_ADAPTER_V1 NT_INFO_CMD_READ_COMPAT_5 //!< Adapter info - the number of sensors, ports, PCI ID and bus ID
154 uint8_t numPhysicalAdapters; //!< The number of physical adapters grouped in this logical adapter
162 uint32_t supportedProfilesBitmask; //!< The profiles supported by the adapter - the value is represented as a bitmask of @ref NtProfileType_e values
204 uint32_t extendedDescriptor; //!< The extended descriptor in use by RX - if 0 then no extended is used
205 uint32_t supportedExtendedDescriptorsBitmask; //!< Bitmask of supported extended descriptors, for example, if bit 7 is set then extended descriptor 7 is supported, and if bit 8 it set then extended descriptor 8 is supported
208 enum NtTimestampMethod_e timestampMethod; //!< The time stamp method (SOF/EOF) used by the adapter
226 /***********************************************************************************************/
228 /***********************************************************************************************/
229 #define NT_INFO_CMD_READ_ADAPTER_V2 NT_INFO_CMD_READ_COMPAT_7 //!< Adapter info - the number of sensors, ports, PCI ID and bus ID
244 uint8_t numPhysicalAdapters; //!< The number of physical adapters grouped in this logical adapter
252 uint32_t supportedProfilesBitmask; //!< The profiles supported by the adapter - the value is represented as a bitmask of @ref NtProfileType_e values
253 uint32_t adapterFeatures; //!< The features supported by the adapter - the value is represented as a bitmask of @ref NtFeatureType_e values
298 uint32_t extendedDescriptor; //!< The extended descriptor in use by RX - if 0 then no extended is used
299 uint32_t supportedExtendedDescriptorsBitmask; //!< Bitmask of supported extended descriptors, for example, if bit 7 is set then extended descriptor 7 is supported, and if bit 8 it set then extended descriptor 8 is supported
302 enum NtTimestampMethod_e timestampMethod; //!< The time stamp method (SOF/EOF) used by the adapter
319 /***********************************************************************************************/
321 /***********************************************************************************************/
322 #define NT_INFO_CMD_READ_ADAPTER_V3 NT_INFO_CMD_READ_COMPAT_11 //!< Adapter info - the number of sensors, ports, PCI ID and bus ID
338 uint8_t numPhysicalAdapters; //!< The number of physical adapters grouped in this logical adapter
346 uint32_t supportedProfilesBitmask; //!< The profiles supported by the adapter - the value is represented as a bitmask of @ref NtProfileType_e values
347 uint32_t adapterFeatures; //!< The features supported by the adapter - the value is represented as a bitmask of @ref NtFeatureType_e values
386 uint32_t extendedDescriptor; //!< The extended descriptor in use by RX - if 0 then no extended is used
387 uint32_t supportedExtendedDescriptorsBitmask; //!< Bitmask of supported extended descriptors, for example, if bit 7 is set then extended descriptor 7 is supported, and if bit 8 it set then extended descriptor 8 is supported
390 enum NtTimestampMethod_e timestampMethod; //!< The time stamp method (SOF/EOF) used by the adapter
408 /***********************************************************************************************/
410 /***********************************************************************************************/
411 #define NT_INFO_CMD_READ_ADAPTER_V4 NT_INFO_CMD_READ_COMPAT_13 //!< Adapter info - the number of sensors, ports, PCI ID and bus ID
415 AVR_VALID = 1, //!< Valid AVR data for mainboard and front board has been filled in the structure
432 uint8_t numPhysicalAdapters; //!< The number of physical adapters grouped in this logical adapter
440 uint32_t supportedProfilesBitmask; //!< The profiles supported by the adapter - the value is represented as a bitmask of @ref NtProfileType_e values
441 uint32_t adapterFeatures; //!< The features supported by the adapter - the value is represented as a bitmask of @ref NtFeatureType_e values
480 uint32_t extendedDescriptor; //!< The extended descriptor in use by RX - if 0 then no extended is used
481 uint32_t supportedExtendedDescriptorsBitmask; //!< Bitmask of supported extended descriptors, for example, if bit 7 is set then extended descriptor 7 is supported, and if bit 8 it set then extended descriptor 8 is supported
484 enum NtTimestampMethod_e timestampMethod; //!< The time stamp method (SOF/EOF) used by the adapter
502 /***********************************************************************************************/
504 /***********************************************************************************************/
505 #define NT_INFO_CMD_READ_ADAPTER_V5 NT_INFO_CMD_READ_COMPAT_17 //!< Adapter info - the number of sensors, ports, PCI ID and bus ID
521 uint8_t numPhysicalAdapters; //!< The number of physical adapters grouped in this logical adapter
529 uint32_t supportedProfilesBitmask; //!< The profiles supported by the adapter - the value is represented as a bitmask of @ref NtProfileType_e values
530 uint32_t adapterFeatures; //!< The features supported by the adapter - the value is represented as a bitmask of @ref NtFeatureType_e values
569 uint32_t extendedDescriptor; //!< The extended descriptor in use by RX - if 0 then no extended is used
570 uint32_t supportedExtendedDescriptorsBitmask; //!< Bitmask of supported extended descriptors, for example, if bit 7 is set then extended descriptor 7 is supported, and if bit 8 it set then extended descriptor 8 is supported
573 enum NtTimestampMethod_e timestampMethod; //!< The time stamp method (SOF/EOF) used by the adapter
592 /***********************************************************************************************/
594 /***********************************************************************************************/
595 #define NT_INFO_CMD_READ_ADAPTER_V6 NT_INFO_CMD_READ_COMPAT_27 //!< Adapter info - the number of sensors, ports, PCI ID and bus ID
611 uint8_t numPhysicalAdapters; //!< The number of physical adapters grouped in this logical adapter
619 uint32_t supportedProfilesBitmask; //!< The profiles supported by the adapter - the value is represented as a bitmask of @ref NtProfileType_e values
620 uint32_t adapterFeatures; //!< The features supported by the adapter - the value is represented as a bitmask of @ref NtFeatureType_e values
659 uint32_t extendedDescriptor; //!< The extended descriptor in use by RX - if 0 then no extended is used
660 uint32_t supportedExtendedDescriptorsBitmask; //!< Bitmask of supported extended descriptors, for example, if bit 7 is set then extended descriptor 7 is supported, and if bit 8 it set then extended descriptor 8 is supported
663 enum NtTimestampMethod_e timestampMethod; //!< The time stamp method (SOF/EOF) used by the adapter
683 /***********************************************************************************************/
685 /***********************************************************************************************/
686 #define NT_INFO_CMD_READ_PORT NT_INFO_CMD_READ_COMPAT_1 //!< Port info - the port state, speed and duplex
700 * Capabilities reflect what the port is capable of, that is what speed/duplex is possible. For example,
740 /***********************************************************************************************/
742 /***********************************************************************************************/
743 #define NT_INFO_CMD_READ_PORT_V1 NT_INFO_CMD_READ_COMPAT_6 //!< Port info - the port state, speed and duplex
759 * Capabilities reflect what the port is capable of, that is, what speed/duplex is possible. For example,
810 /***********************************************************************************************/
812 /***********************************************************************************************/
813 #define NT_INFO_CMD_READ_PORT_V2 NT_INFO_CMD_READ_COMPAT_8 //!< Port info - the port state, speed and duplex
829 * Capabilities reflect what the port is capable of, that is, what speed/duplex is possible. For example,
879 /***********************************************************************************************/
881 /***********************************************************************************************/
882 #define NT_INFO_CMD_READ_PORT_V3 NT_INFO_CMD_READ_COMPAT_12 //!< Port info - the port state, speed and duplex
900 * Capabilities reflect what the port is capable of, that is, what speed/duplex is possible. For example,
951 /***********************************************************************************************/
953 /***********************************************************************************************/
954 #define NT_INFO_CMD_READ_PORT_V4 NT_INFO_CMD_READ_COMPAT_14 //!< Port info - the port state, speed and duplex
972 * Capabilities reflect what the port is capable of, that is, what speed/duplex is possible. For example,
1024 /***********************************************************************************************/
1026 /***********************************************************************************************/
1027 #define NT_INFO_CMD_READ_PORT_V5 NT_INFO_CMD_READ_COMPAT_16 //!< Port info - the port state, speed and duplex
1044 * Capabilities reflect what the port is capable of, that is, what speed/duplex is possible. For example,
1096 /***********************************************************************************************/
1098 /***********************************************************************************************/
1099 #define NT_INFO_CMD_READ_PORT_V6 NT_INFO_CMD_READ_COMPAT_18 //!< Port info - the port state, speed and duplex
1116 * Capabilities reflect what the port is capable of, that is, what speed/duplex is possible. For example,
1154 uint32_t statusMask; //!< Adapter status mask holds information on how the port is configured at startup
1167 /***********************************************************************************************/
1169 /***********************************************************************************************/
1170 #define NT_INFO_CMD_READ_PORT_V7 NT_INFO_CMD_READ_COMPAT_20 //!< Port info - the port state, speed and duplex
1187 * Capabilities reflect what the port is capable of, that is, what speed/duplex is possible. For example,
1225 uint32_t statusMask; //!< Adapter status mask holds information on how the port is configured at startup
1229 /***********************************************************************************************/
1231 /***********************************************************************************************/
1232 #define NT_INFO_CMD_READ_PORT_V8 NT_INFO_CMD_READ_COMPAT_24 //!< Port info - the port state, speed and duplex
1248 * Capabilities reflect what the port is capable of, that is, what speed/duplex is possible. For example,
1285 uint32_t statusMask; //!< Adapter status mask holds information on how the port is configured at startup
1289 /***********************************************************************************************/
1291 /***********************************************************************************************/
1292 #define NT_INFO_CMD_READ_PORT_V9 NT_INFO_CMD_READ_COMPAT_28 //!< Port info - the port state, speed and duplex
1309 * Capabilities reflect what the port is capable of, that is, what speed/duplex is possible. For example,
1389 /***********************************************************************************************/
1391 /***********************************************************************************************/
1392 #define NT_INFO_CMD_READ_TIMESYNC NT_INFO_CMD_READ_COMPAT_2 //!< Time sync info - the time sync connector and time sync data
1418 #define NT_INFO_CMD_READ_TIMESYNC_V1 NT_INFO_CMD_READ_COMPAT_4 //!< Time sync info - the time sync connector and time sync data
1488 enum NtTimeSyncFreqReference_e tsFreqRefPrio[4]; //!< Timesync frequency reference priority list
1494 enum NtTimeSyncInSyncStatus_e timeSyncInSyncStatus; //!< The timestamp clock time in-sync/out-of-sync status
1495 enum NtTimeSyncConStatus_e timeSyncCurrentConStatus; //!< The current time sync connector status
1496 enum NtTimeSyncPpsStatus_e timeSyncPpsEnable; //!< The time sync PPS enable. Activated by an application
1497 enum NtTimeSyncPpsSyncMode_e timeSyncPpsSyncMode; //!< When current timeref is PpsIn, this is the sync mode status
1504 uint32_t timeSyncTimeOffset; //!< The time sync offset in nanoseconds. Used for NT-TS and PPS caple delay compensation
1505 uint64_t timeSyncPpsSampled; //!< The sampled PPS time. In ns since 1/1 1970 (unix epoch). if NATIVE timestamp format is configured, the epoch is user defined). Note that timeSyncPpsEnable must be true for this parameter to become valid.
1506 int64_t timeSyncTimeSkew; //!< The time skew in ns (0 if not syncing to a time reference). If OS time sync is configured 1us is the resolution, thus skew of 0 means a skew of <1000ns
1508 struct NtInfoTimeSyncSample_s sample[7]; //!< Timestamp sample sets. @ref NtTimeSyncSamplingSrc_e
1534 enum NtTimeSyncFreqReference_e tsFreqRefPrio[4]; //!< Timesync frequency reference priority list
1540 enum NtTimeSyncInSyncStatus_e timeSyncInSyncStatus; //!< The timestamp clock time in-sync/out-of-sync status
1541 enum NtTimeSyncConStatus_e timeSyncCurrentConStatus; //!< The current time sync connector status
1542 enum NtTimeSyncPpsStatus_e timeSyncPpsEnable; //!< The time sync PPS enable. Activated by an application
1543 enum NtTimeSyncPpsSyncMode_e timeSyncPpsSyncMode; //!< When current timeref is PpsIn, this is the sync mode status
1550 uint32_t timeSyncTimeOffset; //!< The time sync offset in nanoseconds. Used for NT-TS and PPS caple delay compensation
1551 uint64_t timeSyncPpsSampled; //!< The sampled PPS time. In ns since 1/1 1970 (unix epoch). if NATIVE timestamp format is configured, the epoch is user defined). Note that timeSyncPpsEnable must be true for this parameter to become valid
1554 struct NtInfoTimeSyncSample_s sample[7]; //!< Timestamp sample sets. @ref NtTimeSyncSamplingSrc_e
1556 int64_t timeSyncClockRateAdjustment; //!< The current clock rate adjustment imposed on the TS clock to synchronize to the referenced clock in nanoseconds per second. This is only supported on newer Gen2 adapters (FPGA version must be 46 or above)
1559 uint32_t timeSyncAdapterToOSSyncEnabled; //!< Non-zero if this adapter is configured to synchronize the server OS clock
1561 int64_t timeSyncOSClockRateAdjustment; //!< The current clock rate adjustment imposed on the server OS clock to synchronize to the adapter TS clock.
1575 /***********************************************************************************************/
1577 /***********************************************************************************************/
1578 #define NT_INFO_CMD_READ_HOSTBUFFER NT_INFO_CMD_READ_COMPAT_3 //!< Host buffer info - the NUMA node, size and feed
1592 * The adapterNo, hostBufferNo and hostBufferType must be initialized for the relevant adapter, host buffer number and host buffer type.
1602 /***********************************************************************************************/
1604 /***********************************************************************************************/
1606 /***********************************************************************************************/
1619 double stdDevSqr; //!< Calculated squared standard deviation of clock skew when slave, otherwise 0
1645 /***********************************************************************************************/
1647 /***********************************************************************************************/
1668 /***********************************************************************************************/
1670 /***********************************************************************************************/
1676 char SerialNo[2][32]; //!< Serial number (only index 0 used on Gen 1 otherwise 0 = main, 1 = front)
1689 /***********************************************************************************************/
1691 /***********************************************************************************************/
1700 char SerialNo[2][32]; //!< Serial number (only index 0 used on Gen 1 otherwise 0 = main, 1 = front)
1718 /***********************************************************************************************/
1720 /***********************************************************************************************/
1729 char SerialNo[2][32]; //!< Serial number (only index 0 used on Gen 1 otherwise 0 = main, 1 = front)
1748 /***********************************************************************************************/
1750 /***********************************************************************************************/
1759 char SerialNo[2][32]; //!< Serial number (only index 0 used on Gen 1 otherwise 0 = main, 1 = front)
1784 /***********************************************************************************************/
1786 /***********************************************************************************************/
1798 int32_t group4PlusCount; //!< Number of group filters used combining 4 patterns with 4 different dynamic offsets