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 458DDA050A; Wed, 13 Apr 2022 12:36:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DACD740694; Wed, 13 Apr 2022 12:36:51 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 37AD54068B for ; Wed, 13 Apr 2022 12:36:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649846210; x=1681382210; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=vV4xNFYkiGa7M3msODz1T1nECtg/Qio1NAvY1RGPpy4=; b=ileRfeUaq3Fk5HFv9QHfIzWdLAdq4zLSeFr2iLMcQxpjwwD+9mejZYvx C0EGBw2HWdw/7XT1FyykGzDEWDb7i1TmbzdYP1lIkF4sNLvLOkLC3ufvd Xvxc4nIBG1HDpCuL0PCxXNE2S7G7IjjaP+xGLMcZ5RpGi4wBk2sfwbxBM ku1rEJbioJgsCPdeaQaiM6TkdV2GA+P1M+5cxUldk+RFX2tolDQbub0pH EmIoR9G5A+p4dwt9eOu4tKsZDDNq2+w1KC9dbokrADOXa5j4n4ZDLyRrZ IP3llAkDcRAjrKR83tzZEkxzMvx1RrkJ1CzJHopdQONAISnIB1r7M1Q8f A==; X-IronPort-AV: E=McAfee;i="6400,9594,10315"; a="323077186" X-IronPort-AV: E=Sophos;i="5.90,256,1643702400"; d="scan'208";a="323077186" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2022 03:36:49 -0700 X-IronPort-AV: E=Sophos;i="5.90,256,1643702400"; d="scan'208";a="573213965" Received: from unknown (HELO localhost.localdomain) ([10.239.251.55]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2022 03:36:45 -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, yvonnex.yang@intel.com, sunil.pai.g@intel.com, yuanx.wang@intel.com Subject: [PATCH 0/2] support to clear in-flight packets for async Date: Thu, 14 Apr 2022 02:27:40 +0800 Message-Id: <20220413182742.860659-1-yuanx.wang@intel.com> X-Mailer: git-send-email 2.25.1 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 (https://patches.dpdk.org/project/dpdk/patch/20220411100032.114434-5-xuan.ding@intel.com/) (https://patches.dpdk.org/project/dpdk/patch/20220411100032.114434-6-xuan.ding@intel.com/) 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 | 4 ++ examples/vhost/main.c | 3 - lib/vhost/rte_vhost_async.h | 25 ++++++++ lib/vhost/version.map | 1 + lib/vhost/virtio_net.c | 80 +++++++++++++++++++++++++- 6 files changed, 115 insertions(+), 6 deletions(-) -- 2.25.1