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 EBF48A04BA; Sun, 4 Oct 2020 21:39:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5B70E1B709; Sun, 4 Oct 2020 21:39:05 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 872DF1B6D7 for ; Sun, 4 Oct 2020 21:39:03 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 8AE9C5C012F; Sun, 4 Oct 2020 15:38:59 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 04 Oct 2020 15:38:59 -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= n3pvB4SR64gg/ROOB8wyythV/fMRLT7mAWa288/Xrno=; b=eUC5s9NHFviS1G7J OXYhq+BuDRlr8hWIPhOeelTI1nIaZAog59AFCSyTHHvECQLhjqwi1S524oNSZhbb qOhWN0G+g764ouVqNKccftfvdqUpYgNF65Tst7M67wcAmlWMt3NDZ7HMJFL5HO0Q o+FgJZR4lZxuz33rnRfMFTIRhg72vj2+RWZqpSeXWCImKXNLR9sx/5qqVMGaD6LR ApXthwpHdH09vJG9zNlWEugSIaHW7ar9TaG/P01xTzmaA/Np7CSC0p/0tO7z2QrJ 8tdenvm3l/fSl8wGADhWVa+OhM4hwLFZ1BwyzVgBhOF9KJxlsGGAXoY5adFPyFZd ORm0ag== 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=n3pvB4SR64gg/ROOB8wyythV/fMRLT7mAWa288/Xr no=; b=B55uCY5lgMkuqsyJZ9tJQhW2fc0Ueb18EoR0mufd9T79zIYKKJPNemQzL pGAY9ODf+bMd1zh2sOPn19lj959w1w9hmbCq76S8H+IDh7l/873WnK1/G6KZXHKw xP/Iwer9f6Yefx6BwP7bzAFvJgFIR0KbmXytiAojk+ratqdBaS7rybRYFvjtkYNS d7thBRD36NMCD3Jt8+KL6dKUJpp0TToIWZ7JZtrBs7LXDdB8fEPIQevECgTeLBTT 3csQnu8vIH+JXDCQliC2cnF0otqWPw7JfaIiSEriivGoHumYxfD3KJ3CjypWfeKl VE3Hx8jLKrZn1JHLh6VMnjV3b+mDA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrgedtgddugeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght 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 A64AA328005D; Sun, 4 Oct 2020 15:38:58 -0400 (EDT) From: Thomas Monjalon To: Yuval Avnery Cc: Ori Kam , dev@dpdk.org Date: Sun, 04 Oct 2020 21:38:57 +0200 Message-ID: <8431823.Zv4F04o16R@thomas> In-Reply-To: <1600948546-124153-1-git-send-email-yuvalav@nvidia.com> References: <1600948546-124153-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 v2] 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" Hi Yuval, > 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 There is a compilation issue: drivers/regex/mlx5/mlx5_regex.c:200: undefined reference to `mlx5_os_set_reg_mr_cb'