Visible to Intel only — GUID: dfp1619809179212
Ixiasoft
3.5.2.6.1. Build and Install Netdev Driver
3.5.2.6.2. Enable VFs if SRIOV is Supported
3.5.2.6.3. Configure the Number of Channels Supported on the Device
3.5.2.6.4. Configure the MTU Value
3.5.2.6.5. Configure the Device Communication
3.5.2.6.6. Configure Transmit Queue Selection Mechanism
3.5.2.6.7. Test Procedure by Using Name Space Environment
3.5.2.6.8. PIO Test
Visible to Intel only — GUID: dfp1619809179212
Ixiasoft
3.5.2.3.3. Run the Reference Example Application
- Build the reference application.
$ cd cli/perfq_app/ $ make clean && make all $ ./perfq_app -h
- This command displays the available options in the application, as shown in the image below:
Refer to the README file located in the cli/perfq_app directory for more information.
- Do a PIO test to check if the setup is correct. If successful, the application displays a Pass status as shown in the image below:
Here the -b option should be provided with the correct BDF in the system.
- Perform IP reset.
This step will perform an IP Reset. You can perform this step before every run.
Build devmem utility:$ software/user/cli/devmem $ make clean all $ ./devmem 0000:01:00.0 0 0x00200120 0x1
- Example of testing a loopback design with the following configuration:
Command:
$ ./perfq_app -b 0000:01:00.0 -p 32768 -l 5 -i -c 2\ -d 2 -a 4
Configuration:
- bdf (-b 0000:01:00.0)
- 2 channels (-c 2)
- Loopback (-i)
- Payload length of 64 bytes in each descriptor (-p 32768)
- Time Limit (-l 5)
- Debug log enabled (-d 2)
- One thread per queue (-a 4)
Note: This hardware test was run with the Intel® Stratix® 10 GX H-tile PCIe Gen3 x16 configuration. - Example of verifying on avmm design:
Modify the below micro in the file: user/common/include/ifc_libmqdma.h
#define PCIe_SLOT 0 /* 0 - x16, 1 - x8 */
Command:$ ./perfq_app -b 0000:01:00.0 -p 32768 -l 5 -i -c 2\ -d 2 -a 4
Configuration:
- bdf (-b 0000:01:00.0)
- 2 channels (-c 2)
- Loopback (-i)
- Payload length of 32768 bytes in each descriptor (-p 32768)
- Time Limit set to 5 (-l 5)
- Debug log enabled (-d 2)
- One thread per queue (-a 4)
Note: To test the data validity, you need to perform H2D then D2H operations.
Note: Execute the following command for MSIX:
$ulimit -n 8192