]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/async/dpdk: add NIC whitelist configuration 44275/head
authorChunsong Feng <fengchunsong@huawei.com>
Fri, 10 Dec 2021 02:27:58 +0000 (02:27 +0000)
committerChunsong Feng <fengchunsong@huawei.com>
Sat, 25 Dec 2021 13:10:01 +0000 (13:10 +0000)
commit95743d510e222fadf6394bd2efd1cc1153de65c8
tree28f28c94ed2fb22fc313f3e68121cf65099e95a9
parent7659877b16284516df102f60f866af9d0fa37bb3
msg/async/dpdk: add NIC whitelist configuration

Each DPDK process uses some exclusive network adapters.The network adapters to
be used are specified in the whitelist to prevent data sharing between multiple
DPDK process.The following is an example:
1)Configure a single NIC.
-a 0000:7d:010 or --allow=0000:7d:010
2)Configure the Bond Network Adapter
ms_dpdk_port_options=--allow=0000:7d:01.0 --allow=0000:7d:02.6
--vdev=net_bonding0,mode=2,slave=0000:7d:01.0,slave=0000:7d:02.6

Signed-off-by: Chunsong Feng <fengchunsong@huawei.com>
Reviewed-by: luo rixin <luorixin@huawei.com>
Reviewed-by: Han Fengzhe <hanfengzhe@hisilicon.com>
src/common/options/global.yaml.in
src/msg/async/dpdk/dpdk_rte.cc