From patchwork Fri Jan 13 02:56:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiang, Cheng1" X-Patchwork-Id: 121990 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 1CD33423BC; Fri, 13 Jan 2023 04:46:23 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C6B6E410EF; Fri, 13 Jan 2023 04:46:22 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id D5C43410D4 for ; Fri, 13 Jan 2023 04:46:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673581581; x=1705117581; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=w11jl/wsWb0uYICFiw1fbi4jyf880ldoOUnwdf6itjY=; b=gAap4sPkWIDuPjKOj7/15nrvR5G0nAOg7CEkKnszek8j7adqy9f3gcmi zI6w2r1l3NpO+yoPKmgU2pak4hw2BbtkURx7tmXqe1JDK+U3Pa3SC/fpe yFnAmScRpcLjzz78A7wYXE9dLMhPEibzIKOOfHbuJFQwhn/t4f8tQLtCx ORRT7So2boLQjMgU1TWzs8QLXfiRWrB4v/mjJe7dt03Xh0DeJ4KOyruvC uzt7FJthMzkxcTmkEKM6D9Pzgdo05o1JPvUjdHIROU8CObhdMod4jQpdl 1tsfae6HFHs3b0EVgQOjM88GU9Jx9+V2rSzRM5JljnnCX1fuo/n1EaPes A==; X-IronPort-AV: E=McAfee;i="6500,9779,10588"; a="410141373" X-IronPort-AV: E=Sophos;i="5.97,212,1669104000"; d="scan'208";a="410141373" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2023 19:46:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10588"; a="831944373" X-IronPort-AV: E=Sophos;i="5.97,212,1669104000"; d="scan'208";a="831944373" Received: from dpdk_jiangcheng.sh.intel.com ([10.67.118.237]) by orsmga005.jf.intel.com with ESMTP; 12 Jan 2023 19:46:15 -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, xingguang.he@intel.com, Cheng Jiang Subject: [PATCH v2 0/3] Async vhost packed ring optimization Date: Fri, 13 Jan 2023 02:56:50 +0000 Message-Id: <20230113025653.16583-1-cheng1.jiang@intel.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221220004415.29576-1-cheng1.jiang@intel.com> References: <20221220004415.29576-1-cheng1.jiang@intel.com> 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. v2: fixed net header settings. 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 | 399 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 361 insertions(+), 38 deletions(-) --- 2.35.1