[dpdk-dev] [RFC 19.11 1/2] ethdev: make DPDK core functions non-inline

Stephen Hemminger stephen at networkplumber.org
Tue Jul 30 17:25:34 CEST 2019


On Tue, 30 Jul 2019 14:49:49 +0200
Marcin Zapolski <marcinx.a.zapolski at intel.com> wrote:

> Make rte_eth_rx_burst, rte_eth_tx_burst and other static inline ethdev
> functions not inline. They are referencing DPDK internal structures and
> inlining forces those structures to be exposed to user applications.
> 
> In internal testing with i40e NICs a performance drop of about 2% was
> observed with testpmd.
> 
> Signed-off-by: Marcin Zapolski <marcinx.a.zapolski at intel.com>

Sorry 2% matters.


More information about the dev mailing list