DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v3 0/3] force IOVA to a particular mode
@ 2018-10-03 20:53 eric zhang
  2018-10-03 20:53 ` [dpdk-dev] [PATCH v3 1/3] eal: add eal option to configure iova mode eric zhang
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: eric zhang @ 2018-10-03 20:53 UTC (permalink / raw)
  To: anatoly.burakov, john.mcnamara; +Cc: allain.legacy, matt.peters, dev

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(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-10-30 14:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-03 20:53 [dpdk-dev] [PATCH v3 0/3] force IOVA to a particular mode eric zhang
2018-10-03 20:53 ` [dpdk-dev] [PATCH v3 1/3] eal: add eal option to configure iova mode eric zhang
2018-10-03 20:53 ` [dpdk-dev] [PATCH v3 2/3] eal: force IOVA to a particular mode eric zhang
2018-10-03 20:53 ` [dpdk-dev] [PATCH v3 3/3] doc: document --iova-mode EAL option eric zhang
2018-10-18 13:18   ` Kovacevic, Marko
2018-10-04  9:19 ` [dpdk-dev] [PATCH v3 0/3] force IOVA to a particular mode Burakov, Anatoly
2018-10-11 10:08   ` Thomas Monjalon
2018-10-28 23:04     ` Thomas Monjalon
2018-10-30 12:02       ` Alejandro Lucero
2018-10-30 13:47         ` Burakov, Anatoly
2018-10-30 14:03           ` Alejandro Lucero

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).