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 EBC4DA04B1; Tue, 6 Oct 2020 00:59:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CDD962965; Tue, 6 Oct 2020 00:59:48 +0200 (CEST) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by dpdk.org (Postfix) with ESMTP id 2064C1023 for ; Tue, 6 Oct 2020 00:59:46 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id F29AF35E; Mon, 5 Oct 2020 18:59:44 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 05 Oct 2020 18:59:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= H9eZT4NuJS9q2M1Ox4iE+T0NltH/D6xw/37w/e0IbxY=; b=mZPRVXtfa/uICYyV AEGbpyJvuaw2CvVnJRMLbDlOMieSFhOk71jTxTjKSDzeQ127/VOw9WDX4Jgf5iE5 mx0g9mH4WdR/1M2nnyaP+dJFhHiszAuL9nbnOIbBy7FF8Yt3QCeFRf+iLG/5vZ7p qo8bTq6BXY1aC6nwCAsklUTzy1/tR3xgvqJVNkT3uIVmTr/6uIhPGGTgMM2M5TXC z/E8HJQ827F0rHx4/DVqzGcZJkWeONsW/jgpUJD6Rf5JgoQyW+gHi3aecjnVngrI bbRJTxog3fFm8xmYaPPpoakszTa3gSfJzUPoVMWde4tfMpjCYRSas/2XWeN8gU9o 1sSZ/Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=H9eZT4NuJS9q2M1Ox4iE+T0NltH/D6xw/37w/e0Ib xY=; b=mrs5K/xZpwkG1b2lo6sforZxhawqvEH2cOHkQwUfS5UrG6B4NWLu0ubWg GFFXeKLp+Y2coXVqRRiJ+bBm36+qMtsXYsHjcGUmEfesWM8lUNS4IdfiXF9z7U4N gDBw8JGP5wQyYnF+Q1VsnDX+r+7d2WHjaMuxUIh+n/u4XANd13k9Cw3ttYB+3J35 6m5q93Sh8H/ySCtoBtofHBu9fW9oubGm5AMBnZfLtWbCEwpg2CBWGZBFQa5X87oI 4Q8YoaRy/bGE1xRe4g5LUzxyD9kjg9yge/mXB4JyU2Kdoz0D9+TI7Mv8DNRa23YL LLb+Zv2NOkW4w7ugdfCfvIOPxOWWg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrgeefgdduiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuih iivgepudenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 933B33064683; Mon, 5 Oct 2020 18:59:43 -0400 (EDT) From: Thomas Monjalon To: Yuval Avnery Cc: Ori Kam , dev@dpdk.org Date: Tue, 06 Oct 2020 00:59:42 +0200 Message-ID: <2431948.mpJCyC8Bju@thomas> In-Reply-To: <1601895081-19866-1-git-send-email-yuvalav@nvidia.com> References: <1600948546-124153-1-git-send-email-yuvalav@nvidia.com> <1601895081-19866-1-git-send-email-yuvalav@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3] regex/mlx5: add dynamic memory registration to datapath 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" > From: Yuval Avnery > > Currently job data is being copied to pre-registered buffer. > To avoid memcpy on the datapath, use dynamic memory registration. > > This change will reduce latency when sending regex jobs. The first few > jobs may have high latency due to registration, but assuming all > following mbufs will arrive from the same mempool/hugepage, there will > be no further memory registration. > > Signed-off-by: Yuval Avnery > Acked-by: Ori Kam Applied, thanks