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 65009A052B; Wed, 29 Jul 2020 16:10:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 498C4F04; Wed, 29 Jul 2020 16:10:19 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 2BB39F04 for ; Wed, 29 Jul 2020 16:10:18 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id C04C05C019D; Wed, 29 Jul 2020 10:10:17 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Wed, 29 Jul 2020 10:10:17 -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=fm1; bh= qUy1mWi9jHWwj5SyTkV/UlfkqmYvNUCraaTNbFVIU80=; b=dwoYqk7ZQ47EspNe nsZBIauKahC/iIST/7oZZYbqkG6gUKL8zffaPU8iIG1fXdSt8N5PycdJD92F+KiF Pb0ojAWCdFjhjJ9MzAfYUj52L84NZlWCuBzoML+UzMqs4hLLfRdkNPYPwpPcTf/a HmR1c/T7Pdj1j6Mpg/ssqkCOwRFIsc0BU7v6+KNtcxKM8liexF2IorR1jCPj7Hp2 caqy4trLB340qvOGRzFcfjY/tdhqH+ahH+lxC0RJk8IUGdXH4Fk/edNw3pcmseZU f4cbq1uP71RjygYokQkFg/FSA56xHoOM2sYCNWdR2vGSRXsoQv/Mri0Uevoc3ltP TCMg7Q== 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=fm3; bh=qUy1mWi9jHWwj5SyTkV/UlfkqmYvNUCraaTNbFVIU 80=; b=AIc4q8sz4eE6VuLXOck1DdFT0kiAQoN/IsFLs0Y8vz90XStipriQq2Hzm +blPPzTs/UwiV143V9+9uC2go62N54T31jtXwBplsvxcELB9eV7NvSLo6RPHC/hH RFS5oam8EAKjMH4OK2kdJWcUc8p0WshMmmWnm+BOv217jT0fOg80ngLgRShUZY2S pp8X8/n4lMmL5JFQtv52+3NHvKm7UXZEBqd24xy00eIaw9Gj9MLNR/VdVWzI9xMS vE57OIP0JS+tcPGN5eR+EXCUd3xD7VVU7AfT7B5sk2fFZqSslsDxfZkO8EiPprPp bmzOz+XIUBR3F9dKmAgI8ZH++xBPQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrieeggdejgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpeefhfefgeetteevtefggfehjeefuefgvdfgieevveduhefhueeuudeh ieehjeelieenucffohhmrghinhepughrihhvvghrrdhnrghmvgenucfkphepjeejrddufe egrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth 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 A3CB730600B9; Wed, 29 Jul 2020 10:10:16 -0400 (EDT) From: Thomas Monjalon To: Ori Kam Cc: dev@dpdk.org, david.marchand@redhat.com Date: Wed, 29 Jul 2020 16:10:15 +0200 Message-ID: <3416145.6uEhLjpTrq@thomas> In-Reply-To: <1596031264-59994-1-git-send-email-orika@mellanox.com> References: <1596031264-59994-1-git-send-email-orika@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] regex/mlx5: fix registration name 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" 29/07/2020 16:01, Ori Kam: > The current registration name has the net prefix, which is incorrect. > This commit removes the net and changes the name to be regex_mlx5. > > Signed-off-by: Ori Kam > --- > drivers/regex/mlx5/mlx5_regex.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/regex/mlx5/mlx5_regex.c b/drivers/regex/mlx5/mlx5_regex.c > index 1ca5bfe..cba3eb9 100644 > --- a/drivers/regex/mlx5/mlx5_regex.c > +++ b/drivers/regex/mlx5/mlx5_regex.c > @@ -262,6 +262,6 @@ > } > > RTE_LOG_REGISTER(mlx5_regex_logtype, pmd.regex.mlx5, NOTICE) > -RTE_PMD_EXPORT_NAME(net_mlx5_regex, __COUNTER__); > -RTE_PMD_REGISTER_PCI_TABLE(net_mlx5_regex, mlx5_regex_pci_id_map); > -RTE_PMD_REGISTER_KMOD_DEP(net_mlx5_regex, "* ib_uverbs & mlx5_core & mlx5_ib"); > +RTE_PMD_EXPORT_NAME(regex_mlx5, __COUNTER__); > +RTE_PMD_REGISTER_PCI_TABLE(regex_mlx5, mlx5_regex_pci_id_map); > +RTE_PMD_REGISTER_KMOD_DEP(regex_mlx5, "* ib_uverbs & mlx5_core & mlx5_ib"); I think you should add a macro for the name of the driver, and take this opportunity to use the macro in mlx5_regex_driver.pci_driver.driver.name, which is currently mlx5_regex instead of regex_mlx5.