编译dpdk

$ wget https://github.com/DPDK/dpdk/archive/v20.02.tar.gz
$ tar zxvf v20.02.tar.gz
$ cd dpdk-20.02
$ make config T=x86_64-native-linux-gcc && make
$ ./usertools/dpdk-setup.sh

编译spdk

[spdk-ml]$ ./configure –disable-tests –prefix=/usr –project_name=clh-backend –disable-debug –disable-examples –with-vhost –without-shared –without-sheepdog –without-crypto –without-pmdk –without-rbd –without-vpp –without-vtune –without-nvme-cuse –disable-unit-tests

[spdk-ml]$ make -j 32

检查bdev/controller

./rpc.py get_bdevs
./rpc.py get_vhost_controllers

测试