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_PORT NT_INFO_CMD_READ_COMPAT_1 //!< Port info - the port state, speed and duplex
609 * Capabilities reflect what the port is capable of, that is what speed/duplex is possible. For example,
649 /***********************************************************************************************/
651 /***********************************************************************************************/
652 #define NT_INFO_CMD_READ_PORT_V1 NT_INFO_CMD_READ_COMPAT_6 //!< Port info - the port state, speed and duplex
668 * Capabilities reflect what the port is capable of, that is, what speed/duplex is possible. For example,
719 /***********************************************************************************************/
721 /***********************************************************************************************/
722 #define NT_INFO_CMD_READ_PORT_V2 NT_INFO_CMD_READ_COMPAT_8 //!< Port info - the port state, speed and duplex
738 * Capabilities reflect what the port is capable of, that is, what speed/duplex is possible. For example,
788 /***********************************************************************************************/
790 /***********************************************************************************************/
791 #define NT_INFO_CMD_READ_PORT_V3 NT_INFO_CMD_READ_COMPAT_12 //!< Port info - the port state, speed and duplex
809 * Capabilities reflect what the port is capable of, that is, what speed/duplex is possible. For example,
860 /***********************************************************************************************/
862 /***********************************************************************************************/
863 #define NT_INFO_CMD_READ_PORT_V4 NT_INFO_CMD_READ_COMPAT_14 //!< Port info - the port state, speed and duplex
881 * Capabilities reflect what the port is capable of, that is, what speed/duplex is possible. For example,
933 /***********************************************************************************************/
935 /***********************************************************************************************/
936 #define NT_INFO_CMD_READ_PORT_V5 NT_INFO_CMD_READ_COMPAT_16 //!< Port info - the port state, speed and duplex
953 * Capabilities reflect what the port is capable of, that is, what speed/duplex is possible. For example,
1005 /***********************************************************************************************/
1007 /***********************************************************************************************/
1008 #define NT_INFO_CMD_READ_PORT_V6 NT_INFO_CMD_READ_COMPAT_18 //!< Port info - the port state, speed and duplex
1025 * Capabilities reflect what the port is capable of, that is, what speed/duplex is possible. For example,
1063 uint32_t statusMask; //!< Adapter status mask holds information on how the port is configured at startup
1076 /***********************************************************************************************/
1078 /***********************************************************************************************/
1079 #define NT_INFO_CMD_READ_PORT_V7 NT_INFO_CMD_READ_COMPAT_20 //!< Port info - the port state, speed and duplex
1096 * Capabilities reflect what the port is capable of, that is, what speed/duplex is possible. For example,
1134 uint32_t statusMask; //!< Adapter status mask holds information on how the port is configured at startup
1138 /***********************************************************************************************/
1140 /***********************************************************************************************/
1141 #define NT_INFO_CMD_READ_PORT_V8 NT_INFO_CMD_READ_COMPAT_24 //!< Port info - the port state, speed and duplex
1157 * Capabilities reflect what the port is capable of, that is, what speed/duplex is possible. For example,
1194 uint32_t statusMask; //!< Adapter status mask holds information on how the port is configured at startup
1220 /***********************************************************************************************/
1222 /***********************************************************************************************/
1223 #define NT_INFO_CMD_READ_TIMESYNC NT_INFO_CMD_READ_COMPAT_2 //!< Time sync info - the time sync connector and time sync data
1249 #define NT_INFO_CMD_READ_TIMESYNC_V1 NT_INFO_CMD_READ_COMPAT_4 //!< Time sync info - the time sync connector and time sync data
1319 enum NtTimeSyncFreqReference_e tsFreqRefPrio[4]; //!< Timesync frequency reference priority list
1325 enum NtTimeSyncInSyncStatus_e timeSyncInSyncStatus; //!< The timestamp clock time in-sync/out-of-sync status
1326 enum NtTimeSyncConStatus_e timeSyncCurrentConStatus; //!< The current time sync connector status
1327 enum NtTimeSyncPpsStatus_e timeSyncPpsEnable; //!< The time sync PPS enable. Activated by an application
1328 enum NtTimeSyncPpsSyncMode_e timeSyncPpsSyncMode; //!< When current timeref is PpsIn, this is the sync mode status
1335 uint32_t timeSyncTimeOffset; //!< The time sync offset in nanoseconds. Used for NT-TS and PPS caple delay compensation
1336 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.
1337 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
1339 struct NtInfoTimeSyncSample_s sample[7]; //!< Timestamp sample sets. @ref NtTimeSyncSamplingSrc_e
1365 enum NtTimeSyncFreqReference_e tsFreqRefPrio[4]; //!< Timesync frequency reference priority list
1371 enum NtTimeSyncInSyncStatus_e timeSyncInSyncStatus; //!< The timestamp clock time in-sync/out-of-sync status
1372 enum NtTimeSyncConStatus_e timeSyncCurrentConStatus; //!< The current time sync connector status
1373 enum NtTimeSyncPpsStatus_e timeSyncPpsEnable; //!< The time sync PPS enable. Activated by an application
1374 enum NtTimeSyncPpsSyncMode_e timeSyncPpsSyncMode; //!< When current timeref is PpsIn, this is the sync mode status
1381 uint32_t timeSyncTimeOffset; //!< The time sync offset in nanoseconds. Used for NT-TS and PPS caple delay compensation
1382 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
1385 struct NtInfoTimeSyncSample_s sample[7]; //!< Timestamp sample sets. @ref NtTimeSyncSamplingSrc_e
1387 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)
1390 uint32_t timeSyncAdapterToOSSyncEnabled; //!< Non-zero if this adapter is configured to synchronize the server OS clock
1392 int64_t timeSyncOSClockRateAdjustment; //!< The current clock rate adjustment imposed on the server OS clock to synchronize to the adapter TS clock.
1406 /***********************************************************************************************/
1408 /***********************************************************************************************/
1409 #define NT_INFO_CMD_READ_HOSTBUFFER NT_INFO_CMD_READ_COMPAT_3 //!< Host buffer info - the NUMA node, size and feed
1423 * The adapterNo, hostBufferNo and hostBufferType must be initialized for the relevant adapter, host buffer number and host buffer type.
1433 /***********************************************************************************************/
1435 /***********************************************************************************************/
1437 /***********************************************************************************************/
1450 double stdDevSqr; //!< Calculated squared standard deviation of clock skew when slave, otherwise 0
1476 /***********************************************************************************************/
1478 /***********************************************************************************************/
1499 /***********************************************************************************************/
1501 /***********************************************************************************************/
1507 char SerialNo[2][32]; //!< Serial number (only index 0 used on Gen 1 otherwise 0 = main, 1 = front)
1520 /***********************************************************************************************/
1522 /***********************************************************************************************/
1531 char SerialNo[2][32]; //!< Serial number (only index 0 used on Gen 1 otherwise 0 = main, 1 = front)
1549 /***********************************************************************************************/
1551 /***********************************************************************************************/
1563 int32_t group4PlusCount; //!< Number of group filters used combining 4 patterns with 4 different dynamic offsets