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 D43ADA04C0; Tue, 29 Sep 2020 08:38:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2907E1D5E9; Tue, 29 Sep 2020 08:38:28 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 3A7DC1D171 for ; Tue, 29 Sep 2020 08:38:25 +0200 (CEST) IronPort-SDR: 89kzECSKu8slr0xRyW0k7SuotPbOzIWtoanTOAK9VMrw98D1zLCT47lTQ53+MD/TARms7znAtR bmL5oxcMishw== X-IronPort-AV: E=McAfee;i="6000,8403,9758"; a="161356228" X-IronPort-AV: E=Sophos;i="5.77,317,1596524400"; d="scan'208";a="161356228" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2020 23:38:23 -0700 IronPort-SDR: rrOUDabkjSXDuVtW2CXahZysCjC601mEfwldbFgLnBe3edtskyKwim0xunX2xoetHy6bep/BWz yaqaaJp4dCxw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,317,1596524400"; d="scan'208";a="340745795" Received: from npg-dpdk-patrickfu-casc2.sh.intel.com ([10.67.119.92]) by orsmga008.jf.intel.com with ESMTP; 28 Sep 2020 23:38:20 -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, 29 Sep 2020 14:29:54 +0800 Message-Id: <20200929062958.2832351-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 v2 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. 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 register/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 | 164 +++++++++++++---------------- 5 files changed, 146 insertions(+), 137 deletions(-) -- 2.18.4