Skip to content

Increase test compatibility with PA IOVA

Stanislaw Kardach dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Fix checkpatch errors
- Add affected platform in the cover letter.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3test: disable no-huge test with PA IOVAapp/test/test_eal_flags.c+9 -00 replies
2/3test: disable no-huge where it's not necessaryapp/test/test_eal_flags.c+31 -190 replies
3/3test: fix the -n unit test descriptionapp/test/test_eal_flags.c+2 -20 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [dpdk-dev] [PATCH v2 0/3] Increase test compatibility with PA IOVA

While working on a RISC-V port, using a HiFive Unmatched (FU740) which does not have IOMMU (hence only RTE_IOVA_PA is available), I've noticed that some of the EAL tests are failing because of a totally different reason than the test itself.
Namely the --no-huge flag and --iova-mode=pa can't be used together and EAL init fails warning about a lack of access to physical addresses. This patchset tries to cleanup the --no-huge usage so that it doesn't hide the real state of tests when RTE_IOVA_PA is used (i.e. on platforms without IOMMU).

I'm proposing to skip the no-huge test for RTE_IOVA_PA environments as it is not supported by design as well as removing no-huge usage on Linux as it seems that it is used (along with --no-shconf) to increase the compatibility with FreeBSD.

Please let me know if I'm missing a bigger picture with the --no-huge and --no-shconf usage on non-FreeBSD platforms.

I'm not adding [email protected] on purpose as this does not affect any current platform I'm aware of (at least in a production scenario).

---

V2:
- Fix checkpatch errors
- Add affected platform in the cover letter.

Stanislaw Kardach (3):
test: disable no-huge test with PA IOVA
test: disable no-huge where it's not necessary
test: fix the -n unit test description

 app/test/test_eal_flags.c | 63 ++++++++++++++++++++++++++-------------
 1 file changed, 42 insertions(+), 21 deletions(-)
Signature · 1 line
2.27.0