[PATCH 0/3] Use cross-platform rte_basename function
Bruce Richardson
bruce.richardson at intel.com
Wed Aug 6 15:38:30 CEST 2025
To enable more of DPDK to be buildable and usable on Windows, common
code should use rte_basename in place of regular basename() function.
Therefore update EAL common code and code in apps to use that new
rte_basename function.
In some cases rte_basename is easier to use than basename, since it
outputs to a new buffer, so also update idxd driver to use
rte_basename, since it simplifies the code, even though that code
does not need to work on non-Linux systems.
Depends-on: series-35845 ("improve cmdline file handling in testpmd")
Bruce Richardson (3):
app: use cross-platform basename function
eal: use common basename function
dma/idxd: use DPDK basename function
app/test-dma-perf/main.c | 6 +++---
app/test/process.h | 2 +-
drivers/dma/idxd/idxd_bus.c | 12 ++++--------
lib/eal/common/eal_common_proc.c | 5 +----
4 files changed, 9 insertions(+), 16 deletions(-)
--
2.48.1
More information about the dev
mailing list