简单使用 DPDK-L2FWD 测试工具
Simple useage of dpdk-l2fwd tool
————————————————————
DPDK 使用遇到了一些麻烦,不想用自带的 dpdk-testpmd ,拿 l2fwd 试一试 🤔
DPDK-L2FWD
UBOOT:
edit othbootargs
isolcpus=1-3
saveenv
SYSTEM:
./dpdk-l2fwd -c 0xe -n 1 -- -q 1 -p 0x6 --no-mac-updating -P
-c : Core nums, 0xe-1110, 0xf-1111
-n : Memory channels
-p : Port,0x6-0110,MAC1&MAC2
-q : Number of queues on each core
-P : Start all network cards and enter hybrid mode. If you want to use the specified ether, use the
-p mask
–no-mac-updating : Ignoring differences in MAC addresses and not discarding packets from non MAC addresses
如果你要问我怎么编译出来的?这个一般在example里,但很不幸的是edge中NXP把它remove掉了,自己重新编一个喽!