DPDK patches and discussions
 help / color / mirror / Atom feed
* Re: [dpdk-dev] eal/pci: Improve automatic selection of IOVA mode
@ 2019-06-04 11:28 Jerin Jacob Kollanukkaran
  0 siblings, 0 replies; 5+ messages in thread
From: Jerin Jacob Kollanukkaran @ 2019-06-04 11:28 UTC (permalink / raw)
  To: David Marchand, Ben Walker; +Cc: dev, Burakov, Anatoly, eric.zhang


From: David Marchand <david.marchand@redhat.com> 
Sent: Monday, June 3, 2019 4:19 PM
To: Ben Walker <benjamin.walker@intel.com>; Jerin Jacob Kollanukkaran <jerinj@marvell.com>
Cc: dev <dev@dpdk.org>; Burakov, Anatoly <anatoly.burakov@intel.com>
Subject: Re: [dpdk-dev] eal/pci: Improve automatic selection of IOVA mode


> - This leaves the --iova-va forcing option. 
> Why do we need it?
> If we don't have access to physical addresses, no choice but run in VA mode.
> If we have access to physical addresses, the only case would be that you want to downgrade from PA to VA.
> But well, your process can still access it, not sure what the benefit is.


> Jerin, I can see in the history you worked on this.
> What did I miss?
> Is there something wrong with dropping the detection code?

Its added by Eric to support virtual devices.

https://mails.dpdk.org/archives/dev/2018-September/111141.html




^ permalink raw reply	[flat|nested] 5+ messages in thread
* [dpdk-dev] eal/pci: Improve automatic selection of IOVA mode
@ 2019-05-30 17:48 Ben Walker
  2019-06-03 10:48 ` David Marchand
  0 siblings, 1 reply; 5+ messages in thread
From: Ben Walker @ 2019-05-30 17:48 UTC (permalink / raw)
  To: dev

In SPDK, not all drivers are registered with DPDK at start up time.
Previously, that meant DPDK always chose to set itself up in IOVA_PA
mode. Instead, when the correct iova choice is unclear based on the
devices and drivers known to DPDK at start up time, use other heuristics
(such as whether /proc/self/pagemap is accessible) to make a better
choice.

This enables SPDK to run as an unprivileged user again without requiring
users to explicitly set the iova mode on the command line.



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

end of thread, other threads:[~2019-06-14  8:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-04 11:28 [dpdk-dev] eal/pci: Improve automatic selection of IOVA mode Jerin Jacob Kollanukkaran
  -- strict thread matches above, loose matches on Subject: below --
2019-05-30 17:48 Ben Walker
2019-06-03 10:48 ` David Marchand
2019-06-03 16:44   ` Walker, Benjamin
2019-06-14  8:42     ` David Marchand

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