From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A24B8A050D; Wed, 13 Apr 2022 17:05:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3FC2C40694; Wed, 13 Apr 2022 17:05:17 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 87DE24068E for ; Wed, 13 Apr 2022 17:05:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649862315; x=1681398315; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=zzVoKxRwVMrXsLD7IEcOcrI0FusyepBOR/lYDfX4ltM=; b=Haxf10HEe2DW0tB2WOnWtE75IfPpHfm6DDA+pxt9SUmEx4GJdToH97t8 Hg38k+ii2ZgBDaHO24oZhvDCrJCu+5B8sFKe6DO9CPx3ENFcK0yM9mGo6 VpldN03ft8YSoD/dIQm+Uymu6sZrlsmVOA5nuUan76EP9zgkmYVVQBop1 1QgKqmA8DqQtM3yJwofUqjtKxoI7fknJzzWLX+VZ2ElVz1dcagaIphWIS 6AUBgE48Wds/9eRtX/gGu4DZRBZ+90z5wJuy4fdnrjAMOeH/Z5JGkF3tY NrPixQdHLaEoNeCh70KzaHH3fgPyyfNnl6S+vMlRwjYbu/zXV/YDIeDoS Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10315"; a="262443381" X-IronPort-AV: E=Sophos;i="5.90,257,1643702400"; d="scan'208";a="262443381" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2022 08:04:49 -0700 X-IronPort-AV: E=Sophos;i="5.90,257,1643702400"; d="scan'208";a="724935250" Received: from bricha3-mobl.ger.corp.intel.com ([10.55.133.40]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 13 Apr 2022 08:04:48 -0700 Date: Wed, 13 Apr 2022 16:04:44 +0100 From: Bruce Richardson To: Chengwen Feng Cc: thomas@monjalon.net, kevin.laatz@intel.com, dev@dpdk.org Subject: Re: [PATCH v2 4/4] examples/dma: add force minimal copy size parameter Message-ID: References: <20220411025634.33032-1-fengchengwen@huawei.com> <20220411121459.23898-1-fengchengwen@huawei.com> <20220411121459.23898-5-fengchengwen@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220411121459.23898-5-fengchengwen@huawei.com> 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 On Mon, Apr 11, 2022 at 08:14:59PM +0800, Chengwen Feng wrote: > This patch adds force minimal copy size parameter > (-m/--force-min-copy-size), so when do copy by CPU or DMA, the real copy > size will be the maximum of mbuf's data_len and this parameter. > > This parameter was designed to compare the performance between CPU copy > and DMA copy. User could send small packets with a high rate to drive > the performance test. > > Signed-off-by: Chengwen Feng > --- Acked-by: Bruce Richardson