DPDK run KNI
http://hustcat.github.io/kni-in-dpdk/
Run KNI application:
# build/kni -c 0x0f -n 2 -- -P -p 0x3 --config="(0,0,1),(1,2,3)" EAL: Detected 4 lcore(s) EAL: No free hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles ! EAL: PCI device 0000:00:05.0 on NUMA socket -1 EAL: probe driver: 8086:100e net_e1000_em EAL: PCI device 0000:00:06.0 on NUMA socket -1 EAL: probe driver: 8086:100e net_e1000_em EAL: PCI device 0000:00:07.0 on NUMA socket -1 EAL: probe driver: 8086:100e net_e1000_em APP: Initialising port 0 ... KNI: pci: 00:06:00 8086:100e APP: Initialising port 1 ... KNI: pci: 00:07:00 8086:100e Checking link status .....done Port 0 Link Up - speed 1000 Mbps - full-duplex Port 1 Link Up - speed 1000 Mbps - full-duplex APP: Lcore 1 is writing to port 0 APP: Lcore 2 is reading from port 1 APP: Lcore 0 is reading from port 0 APP: Lcore 3 is writing to port 1
open a new terminal, and execute : ip a
posted on 2018-09-30 09:18 Quinn-Yann 阅读(649) 评论(0) 编辑 收藏 举报