mbox series

[v2,0/6] mempool: cleanup namespace

Message ID 20211019100845.1632332-1-andrew.rybchenko@oktetlabs.ru (mailing list archive)
Headers show
Series mempool: cleanup namespace | expand

Message

Andrew Rybchenko Oct. 19, 2021, 10:08 a.m. UTC
Add RTE_ prefix to mempool API including internal. Keep old public API
with fallback to new defines. Internal API is just renamed.

v2:
    - do not deprecate MEMPOOL_F_* flags
    - fix unintended usage of internal get/put helpers from bulk get/put

Andrew Rybchenko (6):
  mempool: avoid flags documentation in the next line
  mempool: add namespace prefix to flags
  mempool: add namespace to internal but still visible API
  mempool: make header size calculation internal
  mempool: add namespace to driver register macro
  mempool: deprecate unused defines

 app/proc-info/main.c                          |  15 +-
 app/test-pmd/parameters.c                     |   4 +-
 app/test/test_mempool.c                       |   8 +-
 doc/guides/contributing/documentation.rst     |   4 +-
 doc/guides/prog_guide/mempool_lib.rst         |   2 +-
 doc/guides/rel_notes/deprecation.rst          |  11 ++
 doc/guides/rel_notes/release_21_11.rst        |  12 ++
 drivers/event/cnxk/cnxk_tim_evdev.c           |   2 +-
 drivers/event/octeontx/ssovf_worker.h         |   2 +-
 drivers/event/octeontx/timvf_evdev.c          |   2 +-
 drivers/event/octeontx2/otx2_tim_evdev.c      |   2 +-
 drivers/mempool/bucket/rte_mempool_bucket.c   |  10 +-
 drivers/mempool/cnxk/cn10k_mempool_ops.c      |   2 +-
 drivers/mempool/cnxk/cn9k_mempool_ops.c       |   2 +-
 drivers/mempool/dpaa/dpaa_mempool.c           |   2 +-
 drivers/mempool/dpaa2/dpaa2_hw_mempool.c      |   2 +-
 .../mempool/octeontx/rte_mempool_octeontx.c   |   2 +-
 drivers/mempool/octeontx2/otx2_mempool_ops.c  |   2 +-
 drivers/mempool/ring/rte_mempool_ring.c       |  16 +-
 drivers/mempool/stack/rte_mempool_stack.c     |   4 +-
 drivers/net/cnxk/cn10k_rx.h                   |  12 +-
 drivers/net/cnxk/cn10k_tx.h                   |  30 ++--
 drivers/net/cnxk/cn9k_rx.h                    |  12 +-
 drivers/net/cnxk/cn9k_tx.h                    |  26 +--
 drivers/net/octeontx/octeontx_rxtx.h          |   4 +-
 drivers/net/octeontx2/otx2_ethdev.c           |   4 +-
 drivers/net/octeontx2/otx2_ethdev_sec_tx.h    |   2 +-
 drivers/net/octeontx2/otx2_rx.c               |   8 +-
 drivers/net/octeontx2/otx2_rx.h               |   4 +-
 drivers/net/octeontx2/otx2_tx.c               |  16 +-
 drivers/net/octeontx2/otx2_tx.h               |   4 +-
 drivers/net/thunderx/nicvf_ethdev.c           |   2 +-
 lib/mempool/rte_mempool.c                     |  54 +++---
 lib/mempool/rte_mempool.h                     | 162 +++++++++++-------
 lib/mempool/rte_mempool_ops.c                 |   2 +-
 lib/pdump/rte_pdump.c                         |   3 +-
 lib/vhost/iotlb.c                             |   4 +-
 37 files changed, 261 insertions(+), 194 deletions(-)