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 -a 1 diagnostics (v. 2.8.2.0-97c1c) ============================================================================== System: 2.8.2.0 ------------------------------------------------------------------------------ Adapters: 2 Ports: 4 ============================================================================== Adapter 1 NT20E2-CAP Capture Network Adapter PCIe Gen2 2x10Gb SFP+ ------------------------------------------------------------------------------ Sensor Unit Limit Limit Value Sensor Value Value type low high curr. state min max ------------------------------------------------------------------------------ FPGA Temp. [C] 0.0 90.0 46.0 Normal 45.0 47.0 FAN Speed [RPM] 5270 7440 6322 Normal 6320 6348 Main PSU 1 Temp. [C] -40.0 125.0 52.0 Normal 52.0 57.0 Main PSU 2 Temp. [C] -40.0 125.0 57.0 Normal 52.0 57.0 Front PSU Temp. [C] -40.0 125.0 42.0 Normal 37.0 42.0 Front PCB Temp. [C] 0.0 85.0 51.5 Normal 49.5 52.5 NT20E2 Power [W] 23.1 Normal 22.1 23.5 FPGA Power [W] 11.8 Normal 10.7 13.6 DDR3 Power [W] 3.3 Normal 3.3 3.3 PHY Power [W] 1.3 Normal 0.7 1.7 NIM PWR A Power [W] 2.0 Normal 0.0 2.0 NIM PWR B Power [W] 0.0 Normal 0.0 2.0 ------------------------------------------------------------------------------ Port 2: SFP+ Temp. [C] -13.0 78.0 50.5 Normal 46.6 51.3 Supply Voltage [V] 2.90 3.70 3.25 Normal 3.24 3.25 Tx Bias Current [mA] 2.00 11.80 8.81 Normal 8.71 8.86 Tx(AVG) Power [uW] 158 832 598 Normal 592 606 Rx(AVG) Power [uW] 10 1000 580 Normal 0 590 ------------------------------------------------------------------------------ Port 3: SFP+ Temp. [C] -5.0 75.0 47.0 Normal 44.0 47.8 Supply Voltage [V] 2.97 3.63 3.22 Normal 3.21 3.22 Tx Bias Current [mA] 2.00 10.50 6.51 Normal 6.34 6.54 Tx(AVG) Power [uW] 74 1412 601 Normal 597 604 Rx(AVG) Power [uW] 41 1585 583 Normal 2 592 ------------------------------------------------------------------------------ Analyzing SDRAM: ------------------------------------------------------------------------------ SDRAM Present Yes SDRAM type : DDR3 SDRAM size : 1GB ------------------------------------------------------------------------------ Timesync information: ------------------------------------------------------------------------------ PTP timesync available : No Timesync connector Ext1 : NttsIn Timesync connector Int1 : None Timesync connector Int2 : None Clock reference priority : NT-TS(Ext1), 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 : 5000 (ns) Configured OS in-sync limit : 10000 (ns) Configured PPS in-sync limit : 5000 (ns) Adapter clock sampled timestamps: None ------------------------------------------------------------------------------ Traffic test: ------------------------------------------------------------------------------ Receive port 2 Transmit port 3 Sending packet: 10000 of 10000 Received 10000 packets. Success Receive port 3 Transmit port 2 Sending packet: 10000 of 10000 Received 10000 packets. Success ==============================================================================