]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/async/dpdk: replacing rte_exit with ceph_assert to avoid exit failure 44277/head
authorChunsong Feng <fengchunsong@huawei.com>
Fri, 10 Dec 2021 03:39:33 +0000 (03:39 +0000)
committerChunsong Feng <fengchunsong@huawei.com>
Fri, 10 Dec 2021 13:12:03 +0000 (13:12 +0000)
commit744b197052c20668ec943be21399b201fbc77d92
tree05b8ef87ae9c7499e38869edf0bc90e7b92595e5
parent669798af85e2e947d6612a1ac1492db2948e43a8
msg/async/dpdk: replacing rte_exit with ceph_assert to avoid exit failure

In the DPDK example program,rte_exit is invoked only in the master thread.
The DPDK worker thread cannot invoke rte_exit to avoid waiting forever.

Fixes: https://tracker.ceph.com/issues/53481
Signed-off-by: Chunsong Feng <fengchunsong@huawei.com>
Reviewed-by: luo rixin <luorixin@huawei.com>
Reviewed-by: Han Fengzhe <hanfengzhe@hisilicon.com>
src/msg/async/dpdk/DPDK.cc
src/msg/async/dpdk/DPDK.h