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 4874FA0C46; Fri, 17 Sep 2021 10:23:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 71097410E3; Fri, 17 Sep 2021 10:23:41 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 3EEF3410FA for ; Fri, 17 Sep 2021 10:23:40 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10109"; a="286435449" X-IronPort-AV: E=Sophos;i="5.85,300,1624345200"; d="scan'208";a="286435449" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2021 01:23:39 -0700 X-IronPort-AV: E=Sophos;i="5.85,300,1624345200"; d="scan'208";a="554512514" Received: from unknown (HELO localhost.localdomain) ([10.240.183.50]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2021 01:23:36 -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: Fri, 17 Sep 2021 08:12:36 +0000 Message-Id: <20210917081238.73990-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 v2 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 vhost patch (http://patchwork.dpdk.org/project/dpdk/patch/20210917192703.385510-2-wenwux.ma@intel.com/) 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