Skip to content

EAL and PCI ABI changes for 19.11

David Marchand dpdk-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest12 patches 14 repliesIn review
  2. v212 patches 7 repliesSuperseded
  3. v18 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- dropped patch 8 and added a deprecation notice on rte_logs instead,

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12eal: make lcore config privatedoc/guides/rel_notes/deprecation.rst doc/guides/rel_notes/release_19_11.rst lib/librte_eal/common/eal_common_launch.c +5 more+32 -291 reply
2/12eal: remove deprecated CPU flags check functiondoc/guides/rel_notes/deprecation.rst doc/guides/rel_notes/release_19_11.rst lib/librte_eal/common/eal_common_cpuflags.c +2 more+3 -241 reply
3/12eal: remove deprecated malloc virt2phys functiondoc/guides/rel_notes/deprecation.rst doc/guides/rel_notes/release_19_11.rst lib/librte_eal/common/include/rte_malloc.h+3 -101 reply
4/12mem: hide internal heap headerapp/test-pmd/testpmd.c lib/librte_eal/common/Makefile lib/librte_eal/common/eal_memcfg.h +3 more+27 -401 reply
5/12net/bonding: use non deprecated PCI APIdrivers/net/bonding/rte_eth_bond_args.c+2 -30 replies
6/12pci: remove deprecated functionsdoc/guides/rel_notes/deprecation.rst doc/guides/rel_notes/release_19_11.rst lib/librte_pci/rte_pci.c +2 more+6 -760 replies
7/12log: add log stream accessordrivers/common/qat/qat_logs.c drivers/common/qat/qat_logs.h lib/librte_eal/common/eal_common_log.c +2 more+37 -181 reply
8/12test/mem: remove dependency on EAL internalsapp/test/test_memzone.c+31 -191 reply
9/12eal: deinline lcore APIslib/librte_eal/common/eal_common_lcore.c lib/librte_eal/common/include/rte_lcore.h lib/librte_eal/rte_eal_version.map+52 -370 replies
10/12eal: factorize lcore role codelib/librte_eal/common/eal_common_lcore.c lib/librte_eal/common/include/rte_eal.h lib/librte_eal/common/include/rte_lcore.h +2 more+20 -250 replies
11/12eal: make the global configuration privatedoc/guides/rel_notes/release_19_11.rst lib/librte_eal/common/eal_common_mcfg.c lib/librte_eal/common/eal_private.h +4 more+38 -331 reply
12/12doc: announce global logs struct removal from ABIdoc/guides/rel_notes/deprecation.rst+4 -04 replies

Reviews trailers per patch

All 12 patches have a Reviewed-by or Acked-by.

PatchThomas MonjalonAnatoly BurakovKevin Traynor
1/12A-b A-b
2/12A-b A-b
3/12A-b A-b
4/12A-b A-b
5/12A-b
6/12A-b
7/12A-b A-b
8/12A-b A-b
9/12A-b
10/12A-b
11/12A-b A-b
12/12A-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [dpdk-dev] [PATCH v3 00/12] EAL and PCI ABI changes for 19.11

Let's prepare for the ABI freeze.

The first patches are about changes that had been announced before.

The malloc_heap structure from the memory subsystem can be hidden. The PCI library had some forgotten deprecated APIs that are removed with this series.

rte_logs could be hidden, but I left it exposed for now. I added an accessor to rte_logs.file, and added a deprecation notice announcing its removal from the public ABI.

Changelog since v2:
- dropped patch 8 and added a deprecation notice on rte_logs instead,

Changelog since v1:
- I went a step further, hiding rte_config after de-inlining non critical functions

Signature · 56 lines
David Marchand

David Marchand (11):
  eal: remove deprecated CPU flags check function
  eal: remove deprecated malloc virt2phys function
  mem: hide internal heap header
  net/bonding: use non deprecated PCI API
  pci: remove deprecated functions
  log: add log stream accessor
  test/mem: remove dependency on EAL internals
  eal: deinline lcore APIs
  eal: factorize lcore role code
  eal: make the global configuration private
  doc: announce global logs struct removal from ABI

Stephen Hemminger (1):
  eal: make lcore config private

 app/test-pmd/testpmd.c                             |  1 -
 app/test/test_memzone.c                            | 50 +++++++++------
 doc/guides/rel_notes/deprecation.rst               | 19 +-----
 doc/guides/rel_notes/release_19_11.rst             | 17 +++++
 drivers/common/qat/qat_logs.c                      |  3 +-
 drivers/common/qat/qat_logs.h                      |  3 +-
 drivers/net/bonding/rte_eth_bond_args.c            |  5 +-
 lib/librte_eal/common/Makefile                     |  2 +-
 lib/librte_eal/common/eal_common_cpuflags.c        | 11 ----
 lib/librte_eal/common/eal_common_launch.c          |  2 +
 lib/librte_eal/common/eal_common_lcore.c           | 48 ++++++++++++++
 lib/librte_eal/common/eal_common_log.c             | 33 +++++-----
 lib/librte_eal/common/eal_common_mcfg.c            |  1 +
 lib/librte_eal/common/eal_memcfg.h                 |  3 +-
 lib/librte_eal/common/eal_private.h                | 57 +++++++++++++++++
 .../common/include/generic/rte_cpuflags.h          |  9 ---
 lib/librte_eal/common/include/rte_eal.h            | 43 -------------
 lib/librte_eal/common/include/rte_lcore.h          | 73 ++++------------------
 lib/librte_eal/common/include/rte_log.h            | 13 ++++
 lib/librte_eal/common/include/rte_malloc.h         |  7 ---
 lib/librte_eal/common/include/rte_malloc_heap.h    | 35 -----------
 lib/librte_eal/common/malloc_heap.c                |  1 +
 lib/librte_eal/common/malloc_heap.h                | 25 +++++++-
 lib/librte_eal/common/meson.build                  |  1 -
 lib/librte_eal/common/rte_malloc.c                 |  1 +
 lib/librte_eal/common/rte_service.c                |  2 +
 lib/librte_eal/freebsd/eal/eal.c                   |  7 ---
 lib/librte_eal/linux/eal/eal.c                     |  7 ---
 lib/librte_eal/rte_eal_version.map                 | 16 ++++-
 lib/librte_eal/windows/eal/eal_thread.c            |  1 +
 lib/librte_pci/rte_pci.c                           | 19 ------
 lib/librte_pci/rte_pci.h                           | 47 --------------
 lib/librte_pci/rte_pci_version.map                 |  3 -
 33 files changed, 253 insertions(+), 312 deletions(-)
 delete mode 100644 lib/librte_eal/common/include/rte_malloc_heap.h

-- 
1.8.3.1