Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/50547/?format=api
http://patches.dpdk.org/api/patches/50547/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/2ecb586fd507d84b0b9913e5d3c358871297b2a6.1551275659.git.anatoly.burakov@intel.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<2ecb586fd507d84b0b9913e5d3c358871297b2a6.1551275659.git.anatoly.burakov@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/2ecb586fd507d84b0b9913e5d3c358871297b2a6.1551275659.git.anatoly.burakov@intel.com", "date": "2019-02-27T15:41:24", "name": "vfio: document multiprocess limitation for container API", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "7489a4ef27e495a3b6bfa617ac850e59cab7fd7a", "submitter": { "id": 4, "url": "http://patches.dpdk.org/api/people/4/?format=api", "name": "Anatoly Burakov", "email": "anatoly.burakov@intel.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/2ecb586fd507d84b0b9913e5d3c358871297b2a6.1551275659.git.anatoly.burakov@intel.com/mbox/", "series": [ { "id": 3562, "url": "http://patches.dpdk.org/api/series/3562/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=3562", "date": "2019-02-27T15:41:24", "name": "vfio: document multiprocess limitation for container API", "version": 1, "mbox": "http://patches.dpdk.org/series/3562/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/50547/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/50547/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id B809F5B40;\n\tWed, 27 Feb 2019 16:41:28 +0100 (CET)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 082225B30;\n\tWed, 27 Feb 2019 16:41:26 +0100 (CET)", "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t27 Feb 2019 07:41:26 -0800", "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga004.jf.intel.com with ESMTP; 27 Feb 2019 07:41:25 -0800", "from sivswdev05.ir.intel.com (sivswdev05.ir.intel.com\n\t[10.243.17.64])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tx1RFfOmx022980; Wed, 27 Feb 2019 15:41:24 GMT", "from sivswdev05.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev05.ir.intel.com with ESMTP id x1RFfO2f018739;\n\tWed, 27 Feb 2019 15:41:24 GMT", "(from aburakov@localhost)\n\tby sivswdev05.ir.intel.com with LOCAL id x1RFfOBu018518;\n\tWed, 27 Feb 2019 15:41:24 GMT" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.58,420,1544515200\"; d=\"scan'208\";a=\"278302435\"", "From": "Anatoly Burakov <anatoly.burakov@intel.com>", "To": "dev@dpdk.org", "Cc": "stable@dpdk.org", "Date": "Wed, 27 Feb 2019 15:41:24 +0000", "Message-Id": "<2ecb586fd507d84b0b9913e5d3c358871297b2a6.1551275659.git.anatoly.burakov@intel.com>", "X-Mailer": "git-send-email 1.7.0.7", "Subject": "[dpdk-dev] [PATCH] vfio: document multiprocess limitation for\n\tcontainer API", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Currently, there is no support for sharing custom VFIO containers\nbetween multiple processes, but it is not documented.\n\nDocument this limitation.\n\nCc: stable@dpdk.org\n\nSigned-off-by: Anatoly Burakov <anatoly.burakov@intel.com>\n---\n lib/librte_eal/common/include/rte_vfio.h | 4 ++++\n 1 file changed, 4 insertions(+)", "diff": "diff --git a/lib/librte_eal/common/include/rte_vfio.h b/lib/librte_eal/common/include/rte_vfio.h\nindex cae96fab9..4b3a91e91 100644\n--- a/lib/librte_eal/common/include/rte_vfio.h\n+++ b/lib/librte_eal/common/include/rte_vfio.h\n@@ -291,6 +291,10 @@ rte_vfio_get_group_fd(int iommu_group_num);\n * containers by default, user needs to manage DMA mappings for\n * any container created by this API.\n *\n+ * @note When creating containers using this API, the container will only be\n+ * available in the process that has created it. Sharing containers and\n+ * devices between multiple processes is not supported.\n+ *\n * @return\n * the container fd if successful\n * <0 if failed\n", "prefixes": [] }{ "id": 50547, "url": "