[dpdk]
core_list = 2
numa_on = 0
channel = 4
promiscuous = 1
ctrl_core = 3
port_list = 0,1
[port0]
name = eth1
solt = 0000:02:06.0
#pcap = /tmp/kni_eth1.pcap
[port1]
name = eth2
solt = 0000:02:02.0
#pcap = /tmp/kni_eth2.pcap
1、单进程:
./kni --conf=dpdk.conf --proc-id=0 --proc-type=primary
2、多进程:
./kni --conf=dpdk.conf --proc-id=0 --proc-type=primary
./kni --conf=dpdk.conf --proc-id=1 --proc-type=secondary
【注】
1、dpdk版本是18.05.1