Skip to content

force IOVA to a particular mode

eric zhang dpdk-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 7 repliesIn review
  2. v2 posting 2/22 patches 9 repliesSuperseded
  3. v2 posting 1/21 of 2 patches 0 repliesSuperseded

Changes in v3 from the cover letter

* document --iova-mode EAL option
* change default iova mode to RTE_IOVA_DC

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3eal: add eal option to configure iova modelib/librte_eal/common/eal_common_options.c lib/librte_eal/common/eal_internal_cfg.h lib/librte_eal/common/eal_options.h+33 -00 replies
2/3eal: force IOVA to a particular modelib/librte_eal/bsdapp/eal/eal.c lib/librte_eal/linuxapp/eal/eal.c+26 -120 replies
3/3doc: document --iova-mode EAL optiondoc/guides/prog_guide/env_abstraction_layer.rst doc/guides/testpmd_app_ug/run_app.rst+12 -01 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAnatoly BurakovMarko Kovacevic
SeriesA-b
1/3
2/3
3/3R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/3] force IOVA to a particular mode

This patchset introduces an EAL command line option "--iova-mode" to give the user a facility to force IOVA mode to a special value.

Auto detection of the IOVA mode, based on probing the bus and IOMMU configuration, may not report the desired addressing mode when virtual devices that are not directly attached to the bus are present. The EAL command line option "--iova-mode" can be used to select either physical addressing('pa') or virtual addressing('va').

------
v3:
* document --iova-mode EAL option
* change default iova mode to RTE_IOVA_DC

v2:
* use eal option instead of compilation option to configure IOVA
* apply http://patchwork.dpdk.org/patch/25192/

Santosh Shukla (1):
eal: add eal option to configure iova mode

eric zhang (2):
eal: force IOVA to particular mode
doc:document --iova-mode EAL flag

 doc/guides/prog_guide/env_abstraction_layer.rst |  8 +++++++
 doc/guides/testpmd_app_ug/run_app.rst           |  4 ++++
 lib/librte_eal/bsdapp/eal/eal.c                 | 11 +++++++--
 lib/librte_eal/common/eal_common_options.c      | 30 +++++++++++++++++++++++++
 lib/librte_eal/common/eal_internal_cfg.h        |  1 +
 lib/librte_eal/common/eal_options.h             |  2 ++
 lib/librte_eal/linuxapp/eal/eal.c               | 27 +++++++++++++---------
 7 files changed, 71 insertions(+), 12 deletions(-)
Signature · 1 line
1.8.3.1