dpdk编译安装

ls x86_64-native-linuxapp-gcc/kmod

python tools/dpdk_bind.py --bind=igb_uio 0000:00:1f.6

export RTE_SDK=/dev/shm/dpdk

mkdir /mnt/huge

mount -t hugetlbfs nodev /mnt/huge

echo 64 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages

cd examples/helloworld/

./build/helloworld -c f -n 4 --socket-mem=64

EAL: Detected 8 lcore(s) EAL: No free hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... hello from core 1 hello from core 2 hello from core 3 hello from core 0


# ./build/helloworld -c f -n 4 --socket-mem=64
EAL: Detected 8 lcore(s)
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
hello from core 1
hello from core 2
hello from core 3
hello from core 0

dpdk编译安装

转载于:https://my.oschina.net/innovation/blog/808635

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值