Test and verify the interconnect cable connection
Perform traffic test and verify the interconnect cable connection between two SmartNICs.
Note: This section applies to the following SmartNICs.
- A pair of NT200A02 SmartNICs running on the 2 × 40 Gbit/s SLB image or the 8 × 10 Gbit/s SLB image.
- A pair of NT100A01 SmartNICs running on the 4 × 10/1 Gbit/s test and measurement 1 image.
- A pair of NT40A01 SmartNICs running on the 4 × 10/1 Gbit/s SLB image.
Interconnect cabling
Two SmartNICs must be connected by an interconnect cable.
Example
Configure /opt/napatech3/config/ntservice.ini for CPU socket load
balancing of the SmartNICs. For
example:
[Adapter0] BondingType = Master NumaNode = 0 # Local NUMA node for this PCIe slot [Adapter1] BondingType = Slave NumaNode = 1 # Local NUMA node for this PCIe slotStart the ntservice daemon.
/opt/napatech3/bin/ntstart.shFrames can be transmitted from the host and receive on the same port without a pluggable module or cabling using the host-loopback feature. Configure the host loopback on port 0.
/opt/napatech3/bin/config --cmd set --port 0 --host_loopback onStart the monitoring tool. The link status of port 0 in the monitoring tool is changed to H-Loopback.
*──────────────────── monitoring (v. 3.26.1.152-b05c76c8) ─────────────────────┐ │ P A Type Link Down Rx Tx Max Temp. │ │ 0 0 SFP+ H-Loopback 0 0.00M 0.00M 9018 33.80 C │ │ 1 0 SFP+ 10G Full 0 0.00M 0.00M 9018 32.60 C │ │ 2 0 SFP+ 10G Full 0 0.00M 0.00M 9018 39.50 C │ │ 3 0 SFP+ 10G Full 0 0.00M 0.00M 9018 31.70 C │ │ 4 1 Empty Down 0 0.00M 0.00M 9018 N/A │ │ 5 1 Empty Down 0 0.00M 0.00M 9018 N/A │ │ 6 1 Empty Down 0 0.00M 0.00M 9018 N/A │ │ 7 1 Empty Down 0 0.00M 0.00M 9018 N/A │ └──────────────────────────────────────────────────────────────────────────────┘ Port 0 - Adapter 0 Intf 0: NT100A01_4x1G/10G ┌──────────────────────────────────────────────────────────────────────────────┐ │ RX RMON1 counters Totals │ │ Packets : #000000000000000000 Octets : #000000000000000000 │ │ Broadcast : #000000000000000000 Multicast : #000000000000000000 │ │ 64 octets : #000000000000000000 65-127 octets : #000000000000000000 │ │ 128-255 octets : #000000000000000000 256-511 octets : #000000000000000000 │ │ 512-1023 octets : #000000000000000000 1024-1518 octets: #000000000000000000 │ │ Undersize : #000000000000000000 Oversize : #000000000000000000 │ │ Fragments : #000000000000000000 Collisions : #000000000000000000 │ │ Drop events : #000000000000000000 Crc/Align errors: #000000000000000000 │ │ Jabbers : #000000000000000000 Ext drops : #000000000000000000 │ └──────────────────────────────────────────────────────────────────────────────┘ Reset Tx/Rx 0RMON 1ExtRMON 2Checksum 3Decode 4Drop 5IPF Dec/Hex Tot/Spd Quit Sensors Color stat XTimeSync IEEE 1588 PTP EStream LFlowstat FDumpOn another terminal, run pktgen to generate traffic.
/opt/napatech3/bin/pktgen -p 0Check the monitoring tool to see traffic received on port 0 (on the master SmartNIC) is replicated on port 4 (on the slave SmartNIC).
*──────────────────── monitoring (v. 3.26.1.152-b05c76c8) ─────────────────────┐ │ P A Type Link Down Rx Tx Max Temp. │ │ 0 0 SFP+ H-Loopback 0 10000.00M 10000.00M 9018 33.90 C │ │ 1 0 SFP+ 10G Full 0 0.00M 0.00M 9018 32.80 C │ │ 2 0 SFP+ 10G Full 0 0.00M 0.00M 9018 40.30 C │ │ 3 0 SFP+ 10G Full 0 0.00M 0.00M 9018 32.00 C │ │ 4 1 Empty Down 0 10000.00M 0.00M 9018 N/A │ │ 5 1 Empty Down 0 0.00M 0.00M 9018 N/A │ │ 6 1 Empty Down 0 0.00M 0.00M 9018 N/A │ │ 7 1 Empty Down 0 0.00M 0.00M 9018 N/A │ └──────────────────────────────────────────────────────────────────────────────┘ Port 0 - Adapter 0 Intf 0: NT100A01_4x1G/10G ┌──────────────────────────────────────────────────────────────────────────────┐ │ RX RMON1 counters Totals │ │ Packets : #000000000050923290 Octets : #000000052145448960 │ │ Broadcast : #000000000000000000 Multicast : #000000000000000000 │ │ 64 octets : #000000000000000000 65-127 octets : #000000000000000000 │ │ 128-255 octets : #000000000000000000 256-511 octets : #000000000000000000 │ │ 512-1023 octets : #000000000000000000 1024-1518 octets: #000000000050923290 │ │ Undersize : #000000000000000000 Oversize : #000000000000000000 │ │ Fragments : #000000000000000000 Collisions : #000000000000000000 │ │ Drop events : #000000000000000000 Crc/Align errors: #000000000000000000 │ │ Jabbers : #000000000000000000 Ext drops : #000000000000000000 │ └──────────────────────────────────────────────────────────────────────────────┘ Reset Tx/Rx 0RMON 1ExtRMON 2Checksum 3Decode 4Drop 5IPF Dec/Hex Tot/Spd Quit Sensors Color stat XTimeSync IEEE 1588 PTP EStream LFlowstat FDump
See also DN-1128 for more information on CPU socket load balancing and DN-0449 for more information on the tools.