]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg/async: do not include dpdk headers in public header
authorKefu Chai <kchai@redhat.com>
Tue, 21 Aug 2018 04:12:46 +0000 (12:12 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 5 Sep 2018 05:53:57 +0000 (13:53 +0800)
commitd080e216e0e41e25dfbf1f38f56d1dba84761726
treefaacadf03576ddd5637d12b03f437c09991c269e
parentc976f580e7f0a4f548e850cf7b04a74019242066
msg/async: do not include dpdk headers in public header

before this change, async/Stack.cc includes DPDKStack.h, which in
turn includes dpdk headers. this practically renders the dpdk::dpdk an
PUBLIC library of common_async_dpdk. as dpdk needs to be compiled
with -march=core2, we should constrain the scope of this compiler
option. hence this change.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/msg/async/dpdk/DPDKStack.cc
src/msg/async/dpdk/DPDKStack.h