Skip to content

allow pmdinfo to be inserted and parsed using MSVC

David Marchand dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest5 patches 5 repliesIn review
  2. v64 patches 2 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dev: hide driver export macroslib/eal/include/dev_driver.h lib/eal/include/rte_dev.h+41 -411 reply
2/5dev: rename pmdinfo internal symbolsbuildtools/pmdinfogen.py drivers/bus/auxiliary/bus_auxiliary_driver.h drivers/bus/cdx/bus_cdx_driver.h +18 more+23 -261 reply
3/5dev: export driver information with MSVCdrivers/bus/cdx/bus_cdx_driver.h lib/eal/common/eal_common_options.c lib/eal/include/dev_driver.h+14 -101 reply
4/5buildtools: embed driver information with MSVCbuildtools/gen-pmdinfo-cfile.py buildtools/meson.build buildtools/pmdinfogen.py+28 -101 reply
5/5usertools: enable pmdinfo with MSVCusertools/dpdk-pmdinfo.py+43 -100 replies

Reviews trailers per patch

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

PatchRobin JarryAndre Muezerie
1/5A-b
2/5A-b
3/5A-b
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [PATCH v7 0/5] allow pmdinfo to be inserted and parsed using MSVC

This is a rework of Andre v5, trying to hide the ugly details in a driver only macro not exposed publicly.

Signature · 48 lines
David Marchand

Changes since v6:
- changed this_pmd_name symbols construction,

Changes since v5:
- moved details in dev_driver.h,
- renamed RTE_INCLUDE as RTE_PMD_EXPORT_SYMBOL,

Andre Muezerie (3):
  dev: export driver information with MSVC
  buildtools: embed driver information with MSVC
  usertools: enable pmdinfo with MSVC

David Marchand (2):
  dev: hide driver export macros
  dev: rename pmdinfo internal symbols

 buildtools/gen-pmdinfo-cfile.py              | 25 +++++++--
 buildtools/meson.build                       |  2 +
 buildtools/pmdinfogen.py                     | 13 ++---
 drivers/bus/auxiliary/bus_auxiliary_driver.h |  2 +-
 drivers/bus/cdx/bus_cdx_driver.h             |  5 +-
 drivers/bus/dpaa/bus_dpaa_driver.h           |  2 +-
 drivers/bus/fslmc/bus_fslmc_driver.h         |  4 +-
 drivers/bus/ifpga/bus_ifpga_driver.h         |  2 +-
 drivers/bus/pci/bus_pci_driver.h             |  2 +-
 drivers/bus/platform/bus_platform_driver.h   |  2 +-
 drivers/bus/uacce/bus_uacce_driver.h         |  2 +-
 drivers/bus/vdev/bus_vdev_driver.h           |  2 +-
 drivers/bus/vmbus/bus_vmbus_driver.h         |  2 +-
 drivers/common/mlx5/mlx5_common.c            |  2 +-
 drivers/common/mlx5/mlx5_common_pci.c        |  2 +-
 drivers/compress/mlx5/mlx5_compress.c        |  2 +-
 drivers/crypto/mlx5/mlx5_crypto.c            |  2 +-
 drivers/net/mlx4/mlx4.c                      |  2 +-
 drivers/net/mlx5/mlx5.c                      |  2 +-
 drivers/net/virtio/virtio_pci_ethdev.c       |  2 +-
 drivers/regex/mlx5/mlx5_regex.c              |  2 +-
 drivers/vdpa/mlx5/mlx5_vdpa.c                |  2 +-
 lib/eal/common/eal_common_options.c          |  2 +-
 lib/eal/include/dev_driver.h                 | 43 ++++++++++++++++
 lib/eal/include/rte_dev.h                    | 41 ---------------
 usertools/dpdk-pmdinfo.py                    | 53 ++++++++++++++++----
 26 files changed, 137 insertions(+), 85 deletions(-)

-- 
2.49.0