小编给大家分享一下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/
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编译安装
看完了这篇文章,相信你对“dpdk如何编译安装”有了一定的了解,如果想了解更多相关知识,欢迎关注亿速云行业资讯频道,感谢各位的阅读!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。