[PATCH v7 0/5] allow pmdinfo to be inserted and parsed using MSVC
David Marchand
david.marchand at redhat.com
Wed Jun 11 11:45:27 CEST 2025
This is a rework of Andre v5, trying to hide the ugly details in a
driver only macro not exposed publicly.
--
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
More information about the dev
mailing list