Skip to content

gchs2012/dpdk_kni

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

dpdk kni 多进程多队列

1、配置文件如下所示

[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

2、kni运行

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

About

KNI多进程多队列

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published