Re: [dpdk-dev] [PATCH v2 00/10] Add an option to use LTO for DPDK build

2019-11-01 Thread Stephen Hemminger
On a relate topic. Last time, tried build a DPDK application using -fwhole-program gcc gave lots of warnings because it decided not to inline rte_memcpy. Perhaps this might impact LTO as well. Really rte_memcpy_func should not be inline. We already optimize for the constant size case where inline

[dpdk-dev] [PATCH v2 00/10] Add an option to use LTO for DPDK build

2019-09-17 Thread Andrzej Ostruszka
This patch series adds an option to make use of link time optimization (if compiler has support for it). It is split as follows: - 1st patch (build) is the enablement - remaining patches are fixes for the warnings produced by the compiler and they are split by directory/subsystem so their mainta