[dpdk-stable] patch 'vfio: document multiprocess limitation for container API' has been queued to LTS release 18.11.2

Kevin Traynor ktraynor at redhat.com
Tue Apr 16 16:37:19 CEST 2019


Hi,

FYI, your patch has been queued to LTS release 18.11.2

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 04/24/19. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Thanks.

Kevin Traynor

---
>From ae959092c95221583d968a0628d31cccb7519d3d Mon Sep 17 00:00:00 2001
From: Anatoly Burakov <anatoly.burakov at intel.com>
Date: Wed, 27 Feb 2019 15:41:24 +0000
Subject: [PATCH] vfio: document multiprocess limitation for container API

[ upstream commit 1fd3bcf3f97b219a93456466cb1aa46e2419f051 ]

Currently, there is no support for sharing custom VFIO containers
between multiple processes, but it is not documented.

Document this limitation.

Signed-off-by: Anatoly Burakov <anatoly.burakov at 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
@@ -292,4 +292,8 @@ rte_vfio_get_group_fd(int iommu_group_num);
  *       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
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-04-16 15:34:27.903072801 +0100
+++ 0061-vfio-document-multiprocess-limitation-for-container-.patch	2019-04-16 15:34:25.238178663 +0100
@@ -1,15 +1,15 @@
-From 1fd3bcf3f97b219a93456466cb1aa46e2419f051 Mon Sep 17 00:00:00 2001
+From ae959092c95221583d968a0628d31cccb7519d3d Mon Sep 17 00:00:00 2001
 From: Anatoly Burakov <anatoly.burakov at intel.com>
 Date: Wed, 27 Feb 2019 15:41:24 +0000
 Subject: [PATCH] vfio: document multiprocess limitation for container API
 
+[ upstream commit 1fd3bcf3f97b219a93456466cb1aa46e2419f051 ]
+
 Currently, there is no support for sharing custom VFIO containers
 between multiple processes, but it is not documented.
 
 Document this limitation.
 
-Cc: stable at dpdk.org
-
 Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
 ---
  lib/librte_eal/common/include/rte_vfio.h | 4 ++++


More information about the stable mailing list