Skip to content

Use cross-platform rte_basename function

Bruce Richardson dpdk-dev 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3app: use cross-platform basename functionapp/test-dma-perf/main.c app/test/process.h+4 -40 replies
2/3eal: use common basename functionlib/eal/common/eal_common_proc.c+1 -40 replies
3/3dma/idxd: use DPDK basename functiondrivers/dma/idxd/idxd_bus.c+4 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Use cross-platform rte_basename function

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(-)
Signature · 1 line
2.48.1