From patchwork Tue Dec 20 00:44:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiang, Cheng1" X-Patchwork-Id: 121041 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2929FA00C5; Tue, 20 Dec 2022 02:30:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BB81F40A7A; Tue, 20 Dec 2022 02:30:47 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 3404240395 for ; Tue, 20 Dec 2022 02:30:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671499846; x=1703035846; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=SIFWJ5up/Hcjnzz32lDA2VdDkHTvUk8nMq0TUDxf+n4=; b=lY99cyFr1jbPSN1VN2iFG/i9A6O6TsTknhGBx6vIVtC4+WYvcRlQB60p xLEhVG/8LHA/QhHBloDL11Dj2EsXI4uHySBRiS21mQVuVizIzPq1IHN6g JX1TbSbZ3d+h4tiPJOf2LU3PhLvZKIueqcY2Tyhq/sXMl/mUFfLMq062r OBkpzpCTHA1d5KYtEoel3O2wClxmmomq8C/aydFR3D7V+aSBY4OiUnev3 CjeABnm5e5isVrtOSGkEfP8JBCL86PLNL5znf2Kl0ocjKdeRAPqHIwtt9 W5CTW/tvZ7zT/3inZjKxWpwTX+rpjGVDfAa19XQsZxecScF6r3Bw7dsop g==; X-IronPort-AV: E=McAfee;i="6500,9779,10566"; a="299176735" X-IronPort-AV: E=Sophos;i="5.96,258,1665471600"; d="scan'208";a="299176735" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Dec 2022 17:30:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10566"; a="979584934" X-IronPort-AV: E=Sophos;i="5.96,258,1665471600"; d="scan'208";a="979584934" Received: from dpdk_jiangcheng.sh.intel.com ([10.67.118.237]) by fmsmga005.fm.intel.com with ESMTP; 19 Dec 2022 17:30:41 -0800 From: Cheng Jiang To: maxime.coquelin@redhat.com, chenbo.xia@intel.com Cc: dev@dpdk.org, jiayu.hu@intel.com, xuan.ding@intel.com, wenwux.ma@intel.com, yuanx.wang@intel.com, yvonnex.yang@intel.com, xingguang.he@intel.com, Cheng Jiang Subject: [PATCH 0/3] Async vhost packed ring optimization Date: Tue, 20 Dec 2022 00:44:12 +0000 Message-Id: <20221220004415.29576-1-cheng1.jiang@intel.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 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 To improve the performance of async vhost packed ring. We remove the unnecessary data copy in async vhost packed ring. And add the batch data path in both enqueue data path and dequeue data path. Cheng Jiang (3): vhost: remove redundant copy for packed shadow used ring vhost: add batch enqueue in async vhost packed ring vhost: add batch dequeue in async vhost packed ring lib/vhost/virtio_net.c | 393 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 355 insertions(+), 38 deletions(-) --- 2.35.1