From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id D4057A0548;
	Sun, 14 Aug 2022 16:04:57 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id B992140698;
	Sun, 14 Aug 2022 16:04:57 +0200 (CEST)
Received: from mga17.intel.com (mga17.intel.com [192.55.52.151])
 by mails.dpdk.org (Postfix) with ESMTP id 5AE7440697
 for <dev@dpdk.org>; Sun, 14 Aug 2022 16:04:56 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
 d=intel.com; i=@intel.com; q=dns/txt; s=Intel;
 t=1660485896; x=1692021896;
 h=from:to:cc:subject:date:message-id;
 bh=D72kYFbDqp7efq1+CmmWexJw/rJE3T+Ukmr/rR2epeY=;
 b=U+4mNh6tm3uaJN2+vaIX6EoSQCp/Yc1CscjXL57AG+z5ZyHURBwiwOEe
 Q7wFrO2ixH7kQVR8acXgKdtjCS1KMLTvYoO64zp+w9bO6wyZItEVcPR1F
 BdwW5wWvndJJYfv2kSraOiiER35IdfGw+hEudbD7TC1HxmIa95a3qE5DI
 zDL6pOGsLbxP1X0QIRm+5yMRqBPCdR+bSCm4w45JcGmv0/fSHJRzvMPOs
 5JaluLjYphRk3kGt0LQFEy4eIHO514jLGIsrWB3N6abgtx2UBH9vMqiGN
 8SVLSwdQ2NJoif1RfueNWz/rvhj73uwN1U9tYOkFDVvI5G6YEsA4n5oRJ g==;
X-IronPort-AV: E=McAfee;i="6400,9594,10439"; a="272221083"
X-IronPort-AV: E=Sophos;i="5.93,236,1654585200"; d="scan'208";a="272221083"
Received: from orsmga006.jf.intel.com ([10.7.209.51])
 by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 14 Aug 2022 07:04:55 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.93,236,1654585200"; d="scan'208";a="582597579"
Received: from npg-dpdk-xuan-cbdma.sh.intel.com ([10.67.111.163])
 by orsmga006.jf.intel.com with ESMTP; 14 Aug 2022 07:04:52 -0700
From: xuan.ding@intel.com
To: maxime.coquelin@redhat.com,
	chenbo.xia@intel.com
Cc: dev@dpdk.org, jiayu.hu@intel.com, xingguang.he@intel.com,
 yvonnex.yang@intel.com, cheng1.jiang@intel.com, yuanx.wang@intel.com,
 wenwux.ma@intel.com, Xuan Ding <xuan.ding@intel.com>
Subject: [PATCH v1 0/2] vhost: introduce DMA vchannel unconfiguration
Date: Sun, 14 Aug 2022 14:04:40 +0000
Message-Id: <20220814140442.82525-1-xuan.ding@intel.com>
X-Mailer: git-send-email 2.17.1
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>,
 <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>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

From: Xuan Ding <xuan.ding@intel.com>

This patchset introduces a new API rte_vhost_async_dma_unconfigure()
to help user to manually free the DMA vchannel finished to use.

Note: this API should be called after async channel unregister.

Xuan Ding (2):
  vhost: introduce DMA vchannel unconfiguration
  example/vhost: unconfigure DMA vchannel

 doc/guides/prog_guide/vhost_lib.rst    |  5 ++++
 doc/guides/rel_notes/release_22_11.rst |  2 ++
 examples/vhost/main.c                  |  7 +++++
 lib/vhost/rte_vhost_async.h            | 17 ++++++++++++
 lib/vhost/version.map                  |  3 +++
 lib/vhost/vhost.c                      | 37 ++++++++++++++++++++++++++
 6 files changed, 71 insertions(+)

-- 
2.17.1