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 23A08A0547; Thu, 9 Sep 2021 09:10:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EC66340041; Thu, 9 Sep 2021 09:10:35 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 6369D4003E for ; Thu, 9 Sep 2021 09:10:34 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10101"; a="220758957" X-IronPort-AV: E=Sophos;i="5.85,279,1624345200"; d="scan'208";a="220758957" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Sep 2021 00:10:32 -0700 X-IronPort-AV: E=Sophos;i="5.85,279,1624345200"; d="scan'208";a="504098606" Received: from unknown (HELO localhost.localdomain) ([10.240.183.50]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Sep 2021 00:10:28 -0700 From: Yuan Wang To: dev@dpdk.org Cc: maxime.coquelin@redhat.com, chenbo.xia@intel.com, Sunil.Pai.G@intel.com, jiayu.hu@intel.com, xuan.ding@intel.com, cheng1.jiang@intel.com, wenwux.ma@intel.com, yvonnex.yang@intel.com, Yuan Wang Date: Thu, 9 Sep 2021 06:58:05 +0000 Message-Id: <20210909065807.812145-1-yuanx.wang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 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. Yuan Wang (2): vhost: support to clear in-flight packets for async dequeue vhost: support thread-safe API for clearing in-flight packets in async vhost lib/vhost/rte_vhost_async.h | 21 +++++++++++++++++ lib/vhost/version.map | 1 + lib/vhost/virtio_net.c | 46 ++++++++++++++++++++++++++++++++++--- 3 files changed, 65 insertions(+), 3 deletions(-) -- 2.25.1