Visible to Intel only — GUID: bjw1619824543328
Ixiasoft
3.5.2.3.3.4. Packet Gen Test
- Configuration in user/cli/perfq_app/perfq_app.h
In the case of static channel mapping, modify the following parameters (ignore these parameters in the case of dynamic channel mapping):
- /* Number of PFs */
#define IFC_QDMA_PFS <number of PFs>
- /* Channels available per PF */
#define IFC_QDMA_PER_PF_CHNLS <number of channels per PF>
- /* Channels available per VF */
#define IFC_QDMA_PER_VF_CHNLS <number of channels per VF>
- /* Number of VFs per PF */
#define IFC_QDMA_PER_PF_VFS <number of VFs per PF>
- /* Number of PFs */
- Continue the procedure in the steps in Software Setup for building and installing MCDMA.
- Run the perfq_app application command:
$ ./perfq_app -b 0000:01:00.0 -p 32768 -d 2 -c 1\ -a 2 -l 5 -z -d 1 -n –pf=<pf number> --vf=<vfnumber>
Note: To run performance test, follow the following steps:- Define the following parameter in software/user/common/mk/common.mk
__cflags += -DIFC_MCDMA_FUNC_VER
- Execute the performance test with batch size 127 and pkt-gen files as 1. For example:
./perfq_app -b 0000:2d:00.0 -p 64 -l 5\ -r -c 8 -a 8 -n -x 127 --files=64 -f 1 -d 1
Note:- PF number and VF number start with 1 in command line parameters.
- Please run the performance on PF0 with -n parameter.
- Define the following parameter in software/user/common/mk/common.mk