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 920E1A0093; Fri, 11 Mar 2022 10:41:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C35C40140; Fri, 11 Mar 2022 10:41:51 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id A0CC640042 for ; Fri, 11 Mar 2022 10:41:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646991710; x=1678527710; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mTBesiKXUgqOx27GmJrjY3excTJQVOJUjeZBpTKBphY=; b=XnYaS7V6LKMSeiOWWpUeAxlzkMpm2WMVJYAB7SHlLZmwzKYT+AkBAZhN PIim5eGJQN2gHy2qqBDYEUBdyfCyE3pg11fJ7b8h4iLwbTYrpAUUiivaN kAE3zNNd/o3c8Z08QDKgVpFXhO+afpcDK+9MAiQqACVrjoN+XG/niN/RL YQnblDOYSmGbSsbIZHKHmcypXRmfizJstXn0csyeNq/k5sQTlzdKsNnyp TY57RE2hMh0QEKj/pobwFqtxmmn3yA7HreY2qP8ADpLFZJR61If+92WOr 09t0cIkfRm8+L1xZZkXXL6oBNRMdKyt+OzdjDjh8xnGittUpXHqzd5+ev A==; X-IronPort-AV: E=McAfee;i="6200,9189,10282"; a="236143673" X-IronPort-AV: E=Sophos;i="5.90,173,1643702400"; d="scan'208";a="236143673" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2022 01:41:49 -0800 X-IronPort-AV: E=Sophos;i="5.90,173,1643702400"; d="scan'208";a="555238281" Received: from unknown (HELO localhost.localdomain) ([10.239.251.55]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2022 01:41:46 -0800 From: Yuan Wang To: maxime.coquelin@redhat.com, chenbo.xia@intel.com Cc: dev@dpdk.org, jiayu.hu@intel.com, xuan.ding@intel.com, yvonnex.yang@intel.com, sunil.pai.g@intel.com, yuanx.wang@intel.com Subject: [RFC v2 0/2] support to clear in-flight packets for async Date: Sat, 12 Mar 2022 01:34:12 +0800 Message-Id: <20220311173414.93216-1-yuanx.wang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220117132847.884998-1-yuanx.wang@intel.com> References: <20220117132847.884998-1-yuanx.wang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 These patches support to clear in-flight packets for async dequeue and introduce thread-safe version of this function. note: The patches depend on the following patches (http://patches.dpdk.org/project/dpdk/patch/20220310065407.17145-2-xuan.ding@intel.com/) (http://patches.dpdk.org/project/dpdk/patch/20220310065407.17145-3-xuan.ding@intel.com/) --- v2: - rebase to 22.03-rc3. Yuan Wang (2): vhost: support clear in-flight packets for async dequeue example/vhost: support to clear in-flight packets for async dequeue doc/guides/prog_guide/vhost_lib.rst | 7 ++- doc/guides/rel_notes/release_22_03.rst | 4 ++ examples/vhost/main.c | 3 - lib/vhost/rte_vhost_async.h | 25 ++++++++ lib/vhost/version.map | 1 + lib/vhost/virtio_net.c | 79 +++++++++++++++++++++++++- 6 files changed, 113 insertions(+), 6 deletions(-) -- 2.25.1