stream_config_compat.h
Go to the documentation of this file.
44 /***********************************************************************************************/
46 /***********************************************************************************************/
50 int enable; //!< 0 = Disable interface, 1 = Enable interface. If disabled, the port will still be visible, but has status link down.
56 enum NtLinkAutoNeg_e autoNegotiation; //!< Manual speed, Auto (ignored on optical NIM interfaces)
66 uint32_t minIFG; //!< The minimum inter-frame gap in steps of 10 ns. A specified value will be rounded up or down to the nearest HW-supported value, which depends on the link speed. The default minimum gap is 0 ns.
67 uint32_t maxIFG; //!< The maximum inter-frame gap in steps of 10 ns. A specified value will be rounded up or down to the nearest HW-supported value, which depends on the link speed. The default maximum gap is the maximum HW-supported value. Setting the maximum interframe gap to 0 ns, corresponds to disabling the check for maximum IFG.
69 enum NtTxPower_e TxPower; //!< TX power state on read and command on write. Controls laser power on/off on fiber SFP, XFP, SFP+ and QSFP+ modules. Note that not all modules support enable/disable of the laser. An error code is returned if not supported.
101 /***********************************************************************************************/
103 /***********************************************************************************************/
104 #define NT_CONFIG_PARM_PORT_SETTINGS_V1 NT_CONFIG_PARM_PORT_COMPAT_1 //!< Port settings - version 1
107 int enable; //!< 0 = Disable interface, 1 = Enable interface. If disabled, the port will still be visible, but has status link down.
113 enum NtLinkAutoNeg_e autoNegotiation; //!< Manual speed, Auto (ignored on optical NIM interfaces)
123 uint32_t minIFG; //!< Depending on the IfgMode parameter in ntservice.ini the minimum interframe-gap is either interpreted as 10 ns steps or bytes. If IfgMode is set to NS the value will be rounded up or down to the nearest HW-supported value, which depends on the link speed. The default minimum gap is 0 ns. If the IfgMode is set to BYTE the value is written directly to the HW.
124 uint32_t maxIFG; //!< Depending on the IfgMode parameter in ntservice.ini the maximum interframe-gap is either interpreted as 10 ns steps or bytes. If the IfgMode is set to NS the value will be rounded up or down to the nearest HW-supported value, which depends on the link speed. The default maximum gap is the maximum HW-supported value. If the IfgMode is set to BYTE the value will be written directly to the HW. Setting the maximum interframe gap to 0, corresponds to disabling the check for maximum IFG.
126 enum NtTxPower_e TxPower; //!< TX power state on read and command on write. Controls laser power on/off on fiber SFP, XFP, SFP+ and QSFP+ modules. Note that not all modules support enable/disable of the laser. An error code is returned if not supported.