Visible to Intel only — GUID: kok1588114212715
Ixiasoft
1. About this Document
2. System Requirements
3. Hardware Installation
4. Installing the OPAE Software
5. Identify the Intel® MAX® 10 BMC Version
6. Intel XL710 Driver Installation and Firmware Update
7. Updating the Retimer Firmware
8. OPAE Tools
9. Sample Test: Native Loopback
10. Configuring Ethernet Interfaces
11. Testing Network Loopback Using Data Plane Development Kit (DPDK)
12. Graceful Shutdown
13. Single Event Upset (SEU)
14. Document Revision History for Intel Acceleration Stack User Guide: Intel® FPGA PAC N3000-N/2
A. Troubleshooting
B. fpgabist Sample Output
Visible to Intel only — GUID: kok1588114212715
Ixiasoft
10.4. Get Link Statistics
You can get link statistics using:
- Linux ethtool
- OPAE fpgastats command
$ ethtool -S npacf0g0l0This command provides the Ethernet statistics counts for port 0. Implementation of Ethernet statistics count is optional, check with your FPGA workload provider. For example, the FlexRAN image does not implement Ethernet statistics.
Note: The Ethernet links between the FPGA and XL710 controllers is always up when the FPGA is being programmed.
The OPAE fpgastats command lists all FPGA Ethernet MAC counters on the Intel® FPGA PAC N3000-N/2 specified by bus number. The fpgastats command is useful for detecting packet drops inside the FPGA because it provides both Ethernet wrapper 0 and 1 in an easily read format.
$ sudo fpgastats [-h] [--segment SEGMENT] [--bus BUS] [--device DEVICE] [--function FUNCTION] [--clear] [--debug] optional arguments: -h, --help show this help message and exit --segment SEGMENT, -S SEGMENT Segment number of PCIe device --bus BUS, -B BUS Bus number of PCIe device --device DEVICE, -D DEVICE Device number of PCIe device --function FUNCTION, -F FUNCTION Function number of PCIe device --clear, -c Clear statistics --debug, -d Output debug informationYou can clear Ethernet counts with the clear option:
$ sudo fpgastats -B 0x8a -c
Note: The XL710 controller does not support the OPAE fpgastats command.