Analyze and test
The diagnostics tool is used to analyze and test the SmartNICs. The test result includes sensors, SDRAM information, and time synchronization information. A traffic test is also performed. In order to run the test, you need to loop port 0 and port 1, port 2 and port 3 etc. as shown in the figure below.
The diagnostics tool is under the installation directory on Windows e.g. C:\Program Files\Napatech3\bin.
Cabling to run the diagnostics tool
Example
The following example is the output of the diagnostics tool on Linux.
# /opt/napatech3/bin/diagnostics -a0 diagnostics (v. 3.25.5.11-9bcd529a) ============================================================================== System: 3.25.5.11 ------------------------------------------------------------------------------ Adapters: 1 Ports: 2 ============================================================================== Adapter: 0 Name: NT50B01-01-NEBS-2x25-E3-FF-ANL Analysis Network Adapter FPGA: 0200-9541-47-07-0000-0 Bus: 0000:42:00.0 Pci: 18F4:01D5 ------------------------------------------------------------------------------ Adapter 0 NT50B01-01-NEBS-2x25-E3-FF-ANL Analysis Network Adapter ------------------------------------------------------------------------------ Sensor Unit Limit Limit Value Sensor Value Value type low high curr. state min max ------------------------------------------------------------------------------ FPGA Temp. [C] 0.0 105.0 48.1 Normal 43.8 51.6 MCU Temp. [C] 0.0 85.0 38.5 Normal 35.0 40.2 PSU1 Temp. [C] -40.0 125.0 45.2 Normal 42.5 46.5 PSU3 Temp. [C] -40.0 125.0 41.0 Normal 38.0 42.0 PSU4 Temp. [C] -40.0 125.0 41.0 Normal 38.0 43.0 PCB Temp. [C] 0.0 85.0 40.5 Normal 37.5 41.5 NT50B01(TOT) Power [W] 23.1 Normal 22.1 23.1 ------------------------------------------------------------------------------ Port 0: SFP28 Temp. [C] -10.0 80.0 37.1 Normal 33.8 38.1 Supply Voltage [V] 2.97 3.63 3.25 Normal 3.24 3.25 Tx Bias Current [mA] 0.50 20.00 6.94 Normal 6.91 6.94 Tx(AVG) Power [uW] 91 2754 862 Normal 847 870 Rx(AVG) Power [uW] 93 1738 982 Normal 0 982 ------------------------------------------------------------------------------ Port 1: SFP28 Temp. [C] -10.0 80.0 37.0 Normal 33.8 38.1 Supply Voltage [V] 2.97 3.63 3.24 Normal 3.24 3.25 Tx Bias Current [mA] 0.50 20.00 6.94 Normal 6.91 6.94 Tx(AVG) Power [uW] 91 2754 1018 Normal 1008 1032 Rx(AVG) Power [uW] 93 1738 815 Normal 0 833 ------------------------------------------------------------------------------ Analyzing SDRAM: ------------------------------------------------------------------------------ SDRAM Present Yes SDRAM type : DDR4 SDRAM size : 10GB ------------------------------------------------------------------------------ Bonding status : Not bonded Timesync information: ------------------------------------------------------------------------------ PTP timesync available : No Timesync connector Ext1 : None Timesync connector Int1 : None Timesync connector Int2 : None Clock reference priority : FreeRun Current clock reference : FreeRun Frequency reference priority : FreeRun Current frequency reference : FreeRun Timesync clock adjustmentmode : 1 TimeSync time jump threshold : 1 Configured NT-TS in-sync limit : 0 (ns) Configured OS in-sync limit : 50000 (ns) Configured PPS in-sync limit : 0 (ns) Adapter clock sampled timestamps: None ------------------------------------------------------------------------------ Traffic test: ------------------------------------------------------------------------------ Receive port 0 Transmit port 1 Sending 10000 packets. Sent 10000 packets. Received 10000 packets. Success Receive port 1 Transmit port 0 Sending 10000 packets. Sent 10000 packets. Received 10000 packets. Success ==============================================================================