---------------------------------------------------------- Step 2: Setup linuxapp environment ---------------------------------------------------------- [18] Insert IGB UIO module [19] Insert VFIO module [20] Insert KNI module [21] Setup hugepage mappings for non-NUMA systems [22] Setup hugepage mappings for NUMA systems [23] Display current Ethernet/Crypto device settings [24] Bind Ethernet/Crypto device to IGB UIO module [25] Bind Ethernet/Crypto device to VFIO module [26] Setup VFIO permissions
---------------------------------------------------------- Step 3: Run test application for linuxapp environment ---------------------------------------------------------- [27] Run test application ($RTE_TARGET/app/test) [28] Run testpmd application in interactive mode ($RTE_TARGET/app/testpmd)
---------------------------------------------------------- Step 4: Other tools ---------------------------------------------------------- [29] List hugepage info from /proc/meminfo
---------------------------------------------------------- Step 5: Uninstall and system cleanup ---------------------------------------------------------- [30] Unbind devices from IGB UIO or VFIO driver [31] Remove IGB UIO module [32] Remove VFIO module [33] Remove KNI module [34] Remove hugepage mappings
[35] Exit Script
Option:
Step1
根据自己环境选择相应的build,如我是64位的Intel架构的环境,则选择**[15]**
1 2 3 4 5 6 7 8
...
Installation in /root/dpdk/ complete ------------------------------------------------------------------------------ RTE_TARGET exported as x86_64-native-linuxapp-gcc ------------------------------------------------------------------------------
Removing currently reserved hugepages Unmounting /mnt/huge and removing directory
Input the number of 2048kB hugepages Example: to have 128MB of hugepages available in a 2MB huge page system, enter '64' to reserve 64 * 2MB pages Number of pages: 128 Reserving hugepages Creating /mnt/huge and mounting as hugetlbfs
Press enter to continue ...
......
Option: 24
......
Other Compress devices ====================== <none>
Enter PCI address of device to bind to IGB UIO driver: 0b:00.0
Enter hex bitmask of cores to execute test app on Example: to execute app on cores 0 to 7, enter 0xff bitmask: 0x3 Launching app sudo: x86_64-default-linuxapp-gcc/app/test: command not found
Press enter to continue ...
...
Option: 28
Enter hex bitmask of cores to execute testpmd app on Example: to execute app on cores 0 to 7, enter 0xff bitmask: 0x3 Launching app sudo: x86_64-default-linuxapp-gcc/app/testpmd: command not found