[dpdk-dev] [PATCH v4 1/8] net/rte_ether: deinline non-critical functions

Maxime Coquelin maxime.coquelin at redhat.com
Thu Jun 6 10:06:19 CEST 2019



On 6/5/19 8:09 PM, Stephen Hemminger wrote:
> Formatting Ethernet address and getting a random value are
> not in critical path so they should not be inlined.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> Acked-by: Rami Rosen <ramirose at gmail.com>
> Reviewed-by: Andrew Rybchenko <arybchenko at solarflare.com>
> ---
>   lib/librte_net/Makefile            |  1 +
>   lib/librte_net/meson.build         |  2 +-
>   lib/librte_net/rte_ether.c         | 29 +++++++++++++++++++++++++++++
>   lib/librte_net/rte_ether.h         | 25 ++++---------------------
>   lib/librte_net/rte_net_version.map |  7 +++++++
>   5 files changed, 42 insertions(+), 22 deletions(-)
>   create mode 100644 lib/librte_net/rte_ether.c
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>



More information about the dev mailing list