From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 66679A0C45; Wed, 22 Sep 2021 11:07:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 29BEC41198; Wed, 22 Sep 2021 11:07:20 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 2AB2E41196 for ; Wed, 22 Sep 2021 11:07:17 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10114"; a="210631436" X-IronPort-AV: E=Sophos;i="5.85,313,1624345200"; d="scan'208";a="210631436" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2021 02:07:17 -0700 X-IronPort-AV: E=Sophos;i="5.85,313,1624345200"; d="scan'208";a="550174073" Received: from unknown (HELO localhost.localdomain) ([10.240.183.50]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2021 02:07:13 -0700 From: Yuan Wang To: dev@dpdk.org Cc: maxime.coquelin@redhat.com, chenbo.xia@intel.com, jiayu.hu@intel.com, xuan.ding@intel.com, cheng1.jiang@intel.com, wenwux.ma@intel.com, yvonnex.yang@intel.com, sunil.pai.g@intel.com Date: Wed, 22 Sep 2021 08:55:44 +0000 Message-Id: <20210922085546.54758-1-yuanx.wang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210909065807.812145-1-yuanx.wang@intel.com> References: <20210909065807.812145-1-yuanx.wang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 0/2] support to clear in-flight packets for async X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch supports to clear in-flight packets for aysnc dequeue and introduces thread-safe version of this function. note: This patch depends on the following patch (http://patchwork.dpdk.org/project/dpdk/patch/20210917192703.385510-2-wenwux.ma@intel.com/) --- v3: - Fix uninitialized issue in 2/2. v2: - Update release note. - Add check on queue id and split queue. Yuan Wang (2): vhost: support to clear in-flight packets for async dequeue vhost: add thread-safe API for clearing in-flight packets in async vhost doc/guides/prog_guide/vhost_lib.rst | 8 +++- lib/vhost/rte_vhost_async.h | 21 +++++++++ lib/vhost/version.map | 1 + lib/vhost/virtio_net.c | 68 ++++++++++++++++++++++++++++- 4 files changed, 95 insertions(+), 3 deletions(-) -- 2.25.1