Cover Detail
Show a cover letter.
GET /api/covers/119083/?format=api
http://patches.dpdk.org/api/covers/119083/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/20221025082540.100618-1-xuan.ding@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": "<20221025082540.100618-1-xuan.ding@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20221025082540.100618-1-xuan.ding@intel.com", "date": "2022-10-25T08:25:38", "name": "[v8,0/2] vhost: introduce DMA vchannel unconfiguration", "submitter": { "id": 1401, "url": "http://patches.dpdk.org/api/people/1401/?format=api", "name": "Ding, Xuan", "email": "xuan.ding@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/20221025082540.100618-1-xuan.ding@intel.com/mbox/", "series": [ { "id": 25413, "url": "http://patches.dpdk.org/api/series/25413/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=25413", "date": "2022-10-25T08:25:38", "name": "vhost: introduce DMA vchannel unconfiguration", "version": 8, "mbox": "http://patches.dpdk.org/series/25413/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/119083/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 D0127A0543;\n\tTue, 25 Oct 2022 10:29:24 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A275840A89;\n\tTue, 25 Oct 2022 10:29:24 +0200 (CEST)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id A4EFD400D5\n for <dev@dpdk.org>; Tue, 25 Oct 2022 10:29:23 +0200 (CEST)", "from orsmga001.jf.intel.com ([10.7.209.18])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 Oct 2022 01:29:22 -0700", "from npg-dpdk-xuan-cbdma.sh.intel.com ([10.67.111.102])\n by orsmga001.jf.intel.com with ESMTP; 25 Oct 2022 01: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=1666686563; x=1698222563;\n h=from:to:cc:subject:date:message-id:in-reply-to: references;\n bh=31RKeL4RADOV6ihpdzNh0kbcxI4Q1aemyf4ZMPPIQLY=;\n b=lmnRIqcXsTDRhkNGHFPv5Ci0vgk67lu/TAEX9gJBenFWpI2clw3sYq71\n zw1VZ9AMrdJx8tT3sIoCEMIQZNQXxh3IYHQ4Cs8RD+6Whv2TNd6VJZg6E\n b2loI3aQN1ZwdCYZa/b8by9cQtEOaf79tevM0f5SKMPT/z+GGuSuXQ7Vu\n 288YnXtApNkXwLcpeasj39cMfcnKswBIB++lQf/EBTU3oGS0uwYI9IFWs\n LzBX/4pNKnY7c0zDKPThQfTjxGNqMhWg1tzOMoUbjMrNkM/TvPUdNXBny\n uSnFOXT2RiUBEtjzorEpAN5t7h0I6gajfp8Ir7BKYTacREPbZ3BXcTyFV g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10510\"; a=\"305234243\"", "E=Sophos;i=\"5.95,211,1661842800\"; d=\"scan'208\";a=\"305234243\"", "E=McAfee;i=\"6500,9779,10510\"; a=\"664833314\"", "E=Sophos;i=\"5.95,211,1661842800\"; d=\"scan'208\";a=\"664833314\"" ], "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 weix.ling@intel.com, cheng1.jiang@intel.com, yuanx.wang@intel.com,\n wenwux.ma@intel.com, Xuan Ding <xuan.ding@intel.com>", "Subject": "[PATCH v8 0/2] vhost: introduce DMA vchannel unconfiguration", "Date": "Tue, 25 Oct 2022 08:25:38 +0000", "Message-Id": "<20221025082540.100618-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\nv8:\n* Check inflight packets release virtual channel.\n\nv7:\n* Add inflight packets processing.\n* Fix CI error.\n\nv6:\n* Move DMA unconfiguration to the end due to DMA devices maybe reused\n after destroy_device().\n* Refine the doc to claim the DMA device should not be used in vhost\n after unconfiguration.\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 | 5 ++\n doc/guides/rel_notes/release_22_11.rst | 5 ++\n examples/vhost/main.c | 8 +++\n lib/vhost/rte_vhost_async.h | 20 +++++++\n lib/vhost/version.map | 3 ++\n lib/vhost/vhost.c | 72 ++++++++++++++++++++++++--\n 6 files changed, 108 insertions(+), 5 deletions(-)" }{ "id": 119083, "url": "