[dpdk-dev] [PATCH v4 0/5] make lcore_config internal

David Marchand david.marchand at redhat.com
Thu May 23 15:58:56 CEST 2019


This set of patches makes the lcore_config structure less visible
as part of the ABI.  This version does not break the ABI (yet)
follow on patch moves lcore_config into eal_private.h

Changelog since v3:
I took the liberty of taking over Stephen series.
I rebased and did some adjustments following [1] cleanups.
As stated before, we will still need a deprecation notice when hiding
lcore_config but this series does not break API nor ABI.

Changelog since v2:
 - new patch to use unsigned int in lcore.h first
 - incorporate feedback from David
 - don't include last patch to make it private
        (to avoid accidental early merge)

1: http://patchwork.dpdk.org/patch/53621/

-- 
David Marchand

Stephen Hemminger (5):
  eal: use unsigned int in lcore API prototypes
  eal: add lcore accessors
  drivers/bus: use lcore accessors
  examples/bond: use lcore accessors
  test: use lcore accessors

 app/test/test_cryptodev.c                 |  2 +-
 app/test/test_ring_perf.c                 | 22 ++++++++-------
 app/test/test_stack_perf.c                | 20 +++++++-------
 drivers/bus/dpaa/dpaa_bus.c               |  6 ++--
 drivers/bus/fslmc/portal/dpaa2_hw_dpio.c  |  4 ++-
 examples/bond/main.c                      | 13 +++++----
 lib/librte_eal/common/eal_common_lcore.c  | 33 ++++++++++++++++++++++
 lib/librte_eal/common/include/rte_lcore.h | 46 +++++++++++++++++++------------
 lib/librte_eal/rte_eal_version.map        | 10 +++++++
 9 files changed, 108 insertions(+), 48 deletions(-)

-- 
1.8.3.1



More information about the dev mailing list