On Fri, 8 Sep 2017 18:45:52 +0000 Yuyong Zhang <[email protected]> wrote:
> Hi, > > > > I got lots of compile warning when integrating dpdk library such as: > > > > : error: inlining failed in call to ‘rte_mempool_ops_dequeue_bulk.part.1’: > call is unlikely and code size would grow [-Werror=inline] > > > > : error: inlining failed in call to ‘rte_pktmbuf_free": call is unlikely and > code size would grow [-Werror=inline] > > > > Because company policy strictly enforces "waring as error", I have to fix > those issues. Turn off the warning, or fix the policy. DPDK does lots of inlining and in some cases the code will be used in unlikely branchs.
