把网卡绑定到dpdk
[root@localhost dpdk]# ./dpdk-devbind.py -s 查看网卡
[root@localhost dpdk]# ./dpdk-devbind.py -u 0000:04:00.0 解绑0网卡
[root@localhost dpdk]# ./dpdk-devbind.py -u 0000:04:00.1 解绑1网卡
[root@localhost dpdk]# ./dpdk-devbind.py -b igb_uio 0000:04:00.0 绑定0网卡
[root@localhost dpdk]# ./dpdk-devbind.py -b igb_uio 0000:04:00.1 绑定1网卡
[root@localhost dpdk]# ./dpdk-devbind.py -s 查看绑定结果
归还网卡
[root@localhost dpdk]# ./dpdk-devbind.py -u 0000:04:00.0 解绑0网卡
[root@localhost dpdk]# ./dpdk-devbind.py -b igb 0000:04:00.0 归还0网卡到业务口
dpdk绑定网卡
最新推荐文章于 2024-07-01 11:00:30 发布