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 142E9A04FD; Mon, 23 May 2022 10:23:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 04E014014F; Mon, 23 May 2022 10:23:49 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id BF19740041 for ; Mon, 23 May 2022 10:23:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653294226; x=1684830226; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=LhR4nbh4qwB5S3fWMICE9tfAT46WRyGBvM98V5Wmzow=; b=iA0mdoJVRG8d/mKhnNqNWEibt02oo0VySrWXl5QYqYOeHJsjFgnU6y8M NO7AosxWrXZ6Y233nKNSXe/W07nU7CWOjjVxLTkfMgbqbqfZw9FF8P8au RLn/S6CohYaB3HcEQXBxcXtmE9RBls1aMAHNjKtTO/4gUuVU86g+BIRA3 MSSidP7YN/RjAeyY0e7UQUV4fzr1mrWUC9fkEnKcyMBr591wjMXg0G9gI D7Z7q3qeecAKP3LDHj0S1YK/1Y+qNMFaMkZQgFoCKZmDb/IE+S17kFxZh I+NryaKk9IbLgokWUog5uhWMNJoqzrDVJGtt7XjWCx7aRG+QJVEiemGoo Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10355"; a="270717583" X-IronPort-AV: E=Sophos;i="5.91,246,1647327600"; d="scan'208";a="270717583" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2022 01:23:45 -0700 X-IronPort-AV: E=Sophos;i="5.91,246,1647327600"; d="scan'208";a="600522742" Received: from unknown (HELO localhost.localdomain) ([10.239.251.55]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2022 01:23:43 -0700 From: Yuan Wang To: maxime.coquelin@redhat.com, chenbo.xia@intel.com Cc: dev@dpdk.org, jiayu.hu@intel.com, xuan.ding@intel.com, xingguang.he@intel.com, sunil.pai.g@intel.com, yuanx.wang@intel.com Subject: [PATCH v3 0/2] support to clear in-flight packets for async Date: Tue, 24 May 2022 00:13:43 +0800 Message-Id: <20220523161345.289549-1-yuanx.wang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220413182742.860659-1-yuanx.wang@intel.com> References: <20220413182742.860659-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. v3: - Rebase to latest DPDK v2: - Rebase to latest DPDK - Use the thread-safe version in destroy_device() v1: - Protect vq access with splitlock 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 | 8 ++- doc/guides/rel_notes/release_22_07.rst | 5 ++ examples/vhost/main.c | 26 ++++++-- lib/vhost/rte_vhost_async.h | 25 ++++++++ lib/vhost/version.map | 1 + lib/vhost/virtio_net.c | 82 +++++++++++++++++++++++++- 6 files changed, 139 insertions(+), 8 deletions(-) -- 2.25.1