From patchwork Fri Sep 11 01:53:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Fu X-Patchwork-Id: 77288 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7653AA04B5; Fri, 11 Sep 2020 04:00:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 420171C117; Fri, 11 Sep 2020 03:59:27 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id CDC181C0D7 for ; Fri, 11 Sep 2020 03:59:25 +0200 (CEST) IronPort-SDR: 0f4x0FQjCK++aBKA5LifDgcxFOAVxARYzEU8EtfXwwCw05cH8PRH1j7M6A5gYctlITlgGLG6xR V3UtalfNLngQ== X-IronPort-AV: E=McAfee;i="6000,8403,9740"; a="156072266" X-IronPort-AV: E=Sophos;i="5.76,413,1592895600"; d="scan'208";a="156072266" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Sep 2020 18:59:23 -0700 IronPort-SDR: 84Fr6z9p3pR7JDjnHBX8+prMDyzJigckgkJX8qyUaAEd0o6r72ITvMikqTFRPTmnzA6ecDz+23 I9Cvw4rSpgFA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,413,1592895600"; d="scan'208";a="318121847" Received: from npg-dpdk-patrickfu-casc2.sh.intel.com ([10.67.119.92]) by orsmga002.jf.intel.com with ESMTP; 10 Sep 2020 18:59:21 -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: Fri, 11 Sep 2020 09:53:12 +0800 Message-Id: <20200911015316.1903181-1-patrick.fu@intel.com> X-Mailer: git-send-email 2.18.4 Subject: [dpdk-dev] [PATCH v1 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. Patrick Fu (4): vhost: simplify async copy completion vhost: dynamically alloc async memory vhost: fix async vec buf overrun vhost: fix async register/unregister deadlock lib/librte_vhost/rte_vhost_async.h | 15 ++- lib/librte_vhost/vhost.c | 66 ++++++------ lib/librte_vhost/vhost.h | 14 +-- lib/librte_vhost/vhost_user.c | 10 +- lib/librte_vhost/virtio_net.c | 156 ++++++++++++----------------- 5 files changed, 127 insertions(+), 134 deletions(-)