From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A746FA04B6; Tue, 13 Oct 2020 03:56:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 484971D9CF; Tue, 13 Oct 2020 03:56:03 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id C50CE1D9CE for ; Tue, 13 Oct 2020 03:56:01 +0200 (CEST) IronPort-SDR: CZ2UqpSvKKBAjpMOqLGsgIGNwLGVvJcI8nG8g91sxK6mHQxl8iups4PutJZpaC/uQ89WsOVay5 tpIEli4F/cyQ== X-IronPort-AV: E=McAfee;i="6000,8403,9772"; a="165942830" X-IronPort-AV: E=Sophos;i="5.77,369,1596524400"; d="scan'208";a="165942830" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2020 18:55:59 -0700 IronPort-SDR: eGy9ViuorpfitYZvlgoAXRrb8KRw8p/m9KI2zDRNw5ZJ+fkFmJlyWpqQSimH7gd20S2RLzXQ92 i5I7Mf0X+e3w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,369,1596524400"; d="scan'208";a="519805810" Received: from npg-dpdk-patrickfu-casc2.sh.intel.com ([10.67.119.92]) by fmsmga006.fm.intel.com with ESMTP; 12 Oct 2020 18:55:57 -0700 From: Patrick Fu To: dev@dpdk.org, maxime.coquelin@redhat.com, chenbo.xia@intel.com Cc: zhihong.wang@intel.com, cheng1.jiang@intel.com, patrick.fu@intel.com Date: Tue, 13 Oct 2020 09:45:42 +0800 Message-Id: <20201013014546.2896162-1-patrick.fu@intel.com> X-Mailer: git-send-email 2.18.4 In-Reply-To: <20200911015316.1903181-1-patrick.fu@intel.com> References: <20200911015316.1903181-1-patrick.fu@intel.com> Subject: [dpdk-dev] [PATCH v4 0/4] optimize async data path X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 series applies optimization and fixes to the vhost async data path. v4: - fix transfer error handling in async submit function (patch 1/4) - add spinlock in async register function (patch 4/4) - no changes in patch 2/4 & 3/4 v3: - fix a typo in vhost error log (checkpatch warning) - fix travis-robot ci build warning on aarch64 v2: - minor rewordings on commit message - minor fix on poll_enenque_completion to correct a packet number calculation issue - allocate async buffer memory on the same numa with vq - add some comments in data path to improve readability Patrick Fu (4): vhost: simplify async copy completion vhost: dynamically allocate async memory vhost: fix async vector buffer overrun vhost: fix async unregister deadlock lib/librte_vhost/rte_vhost_async.h | 15 ++- lib/librte_vhost/vhost.c | 80 +++++++++----- lib/librte_vhost/vhost.h | 14 +-- lib/librte_vhost/vhost_user.c | 10 +- lib/librte_vhost/virtio_net.c | 162 +++++++++++++---------------- 5 files changed, 148 insertions(+), 133 deletions(-) -- 2.18.4