* [dpdk-dev] [PATCH] vfio: document multiprocess limitation for container API
@ 2019-02-27 15:41 Anatoly Burakov
2019-03-28 23:07 ` Thomas Monjalon
0 siblings, 1 reply; 3+ messages in thread
From: Anatoly Burakov @ 2019-02-27 15:41 UTC (permalink / raw)
To: dev; +Cc: stable
Currently, there is no support for sharing custom VFIO containers
between multiple processes, but it is not documented.
Document this limitation.
Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
---
lib/librte_eal/common/include/rte_vfio.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/librte_eal/common/include/rte_vfio.h b/lib/librte_eal/common/include/rte_vfio.h
index cae96fab9..4b3a91e91 100644
--- a/lib/librte_eal/common/include/rte_vfio.h
+++ b/lib/librte_eal/common/include/rte_vfio.h
@@ -291,6 +291,10 @@ rte_vfio_get_group_fd(int iommu_group_num);
* containers by default, user needs to manage DMA mappings for
* any container created by this API.
*
+ * @note When creating containers using this API, the container will only be
+ * available in the process that has created it. Sharing containers and
+ * devices between multiple processes is not supported.
+ *
* @return
* the container fd if successful
* <0 if failed
--
2.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] vfio: document multiprocess limitation for container API
2019-02-27 15:41 [dpdk-dev] [PATCH] vfio: document multiprocess limitation for container API Anatoly Burakov
@ 2019-03-28 23:07 ` Thomas Monjalon
2019-03-28 23:07 ` Thomas Monjalon
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Monjalon @ 2019-03-28 23:07 UTC (permalink / raw)
To: Anatoly Burakov; +Cc: dev, stable
27/02/2019 16:41, Anatoly Burakov:
> Currently, there is no support for sharing custom VFIO containers
> between multiple processes, but it is not documented.
>
> Document this limitation.
>
> Cc: stable@dpdk.org
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Applied, thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] vfio: document multiprocess limitation for container API
2019-03-28 23:07 ` Thomas Monjalon
@ 2019-03-28 23:07 ` Thomas Monjalon
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2019-03-28 23:07 UTC (permalink / raw)
To: Anatoly Burakov; +Cc: dev, stable
27/02/2019 16:41, Anatoly Burakov:
> Currently, there is no support for sharing custom VFIO containers
> between multiple processes, but it is not documented.
>
> Document this limitation.
>
> Cc: stable@dpdk.org
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Applied, thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-03-28 23:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-27 15:41 [dpdk-dev] [PATCH] vfio: document multiprocess limitation for container API Anatoly Burakov
2019-03-28 23:07 ` Thomas Monjalon
2019-03-28 23:07 ` Thomas Monjalon
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).