您好,登錄后才能下訂單哦!
小編給大家分享一下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如何編譯安裝”有了一定的了解,如果想了解更多相關(guān)知識,歡迎關(guān)注億速云行業(yè)資訊頻道,感謝各位的閱讀!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。