Cover Detail
Show a cover letter.
GET /api/covers/118120/?format=api
https://patches.dpdk.org/api/covers/118120/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/cover/20221013092708.4922-1-xuan.ding@intel.com/", "project": { "id": 1, "url": "https://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": "<20221013092708.4922-1-xuan.ding@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20221013092708.4922-1-xuan.ding@intel.com", "date": "2022-10-13T09:27:06", "name": "[v5,0/2] vhost: introduce DMA vchannel unconfiguration", "submitter": { "id": 1401, "url": "https://patches.dpdk.org/api/people/1401/?format=api", "name": "Ding, Xuan", "email": "xuan.ding@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/cover/20221013092708.4922-1-xuan.ding@intel.com/mbox/", "series": [ { "id": 25203, "url": "https://patches.dpdk.org/api/series/25203/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=25203", "date": "2022-10-13T09:27:06", "name": "vhost: introduce DMA vchannel unconfiguration", "version": 5, "mbox": "https://patches.dpdk.org/series/25203/mbox/" } ], "comments": "https://patches.dpdk.org/api/covers/118120/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id BA090A00C2;\n\tThu, 13 Oct 2022 11:29:24 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9D3A2410F2;\n\tThu, 13 Oct 2022 11:29:24 +0200 (CEST)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id C436B40C35\n for <dev@dpdk.org>; Thu, 13 Oct 2022 11:29:22 +0200 (CEST)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Oct 2022 02:29:21 -0700", "from npg-dpdk-xuan-cbdma.sh.intel.com ([10.67.111.102])\n by fmsmga001.fm.intel.com with ESMTP; 13 Oct 2022 02:29:19 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1665653362; x=1697189362;\n h=from:to:cc:subject:date:message-id:in-reply-to: references;\n bh=SF1JlOcBZX6oIoKWO3m2LnrdTgHGdp8Gtugq9qQ134w=;\n b=BBmwfmoI4WSWL0vPukKE3NHbjnx2r+oCOwzut7lWtwcLECT7J4LvDTZZ\n RzSl9MFjRVh06cN/M/gmBgWQq4ji+6mXM3LIYXgFrZTNhdIfi0Yv9uNGW\n ksfHfsPFEGBYOG97ngIfgwFTgqerAJU2QKB80GcaZxpQ6i8R9Wowc9uk+\n pduKPyuNjyGT+ZKA1jZXPHtAearnfI9Pt6E8l0vt7B73+IP8FVFRLWDtZ\n RnEUSX98yGUr36HJfupRg63lo2IDnwxXFNoE0TgptnrizQep2O5Vm92uv\n RL4J4njVO3tKxDfloocCozRv75QZjPRYjcyIcj9K17YlmJvmRHjNqt8v3 g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10498\"; a=\"305022253\"", "E=Sophos;i=\"5.95,180,1661842800\"; d=\"scan'208\";a=\"305022253\"", "E=McAfee;i=\"6500,9779,10498\"; a=\"769547363\"", "E=Sophos;i=\"5.95,180,1661842800\"; d=\"scan'208\";a=\"769547363\"" ], "X-ExtLoop1": "1", "From": "xuan.ding@intel.com", "To": "maxime.coquelin@redhat.com,\n\tchenbo.xia@intel.com", "Cc": "dev@dpdk.org, jiayu.hu@intel.com, xingguang.he@intel.com,\n yvonnex.yang@intel.com, cheng1.jiang@intel.com, yuanx.wang@intel.com,\n wenwux.ma@intel.com, Xuan Ding <xuan.ding@intel.com>", "Subject": "[PATCH v5 0/2] vhost: introduce DMA vchannel unconfiguration", "Date": "Thu, 13 Oct 2022 09:27:06 +0000", "Message-Id": "<20221013092708.4922-1-xuan.ding@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20220814140442.82525-1-xuan.ding@intel.com>", "References": "<20220814140442.82525-1-xuan.ding@intel.com>", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "From: Xuan Ding <xuan.ding@intel.com>\n\nThis patchset introduces a new API rte_vhost_async_dma_unconfigure()\nto help user to manually free DMA vchannels finished to use.\n\nNote: this API should be called after async channel unregister.\n\nv5:\n* Use mutex instead of spinlock.\n* Improve code readability.\n\nv4:\n* Rebase to 22.11 rc1.\n* Fix the usage of 'dma_ref_count' to make sure the specified DMA device\n is not used by any vhost ports before unconfiguration.\n\nv3:\n* Rebase to latest DPDK.\n* Refine some descriptions in the doc.\n* Fix one bug in the vhost example.\n\nv2:\n* Add spinlock protection.\n* Fix a memory leak issue.\n* Refine the doc.\n\nXuan Ding (2):\n vhost: introduce DMA vchannel unconfiguration\n examples/vhost: unconfigure DMA vchannel\n\n doc/guides/prog_guide/vhost_lib.rst | 6 +++\n doc/guides/rel_notes/release_22_11.rst | 4 ++\n examples/vhost/main.c | 40 ++++++++++-----\n lib/vhost/rte_vhost_async.h | 18 +++++++\n lib/vhost/version.map | 3 ++\n lib/vhost/vhost.c | 69 ++++++++++++++++++++++++--\n 6 files changed, 122 insertions(+), 18 deletions(-)" }{ "id": 118120, "url": "