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 75193A0C45; Sun, 18 Jul 2021 20:28:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 140AB40687; Sun, 18 Jul 2021 20:28:46 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id A55CE40683 for ; Sun, 18 Jul 2021 20:28:44 +0200 (CEST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 080FB5C006E; Sun, 18 Jul 2021 14:28:44 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sun, 18 Jul 2021 14:28:44 -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= OMDJmPtWu7No4KlwwSRSMLkrs3nVpEE6UFjaANprprI=; b=g3ttaaST6ms3ttfV yis6DhVWAMDUd5WObB4gLoMAWE3hr+02kZv0KExDKyOj4nLKat1N5YzhtPPAqOeX b/8r0uoB3Tyo81fJGWf45994D7Oso1HI4OiQz6RLM47SO+DRlr5QWmjezVPH9r7r MNsA/p6Mi0AF9gNslhJanb806QQoF/ttALt6w80+F0ih8894RCzffsq0fv38zt5l q9BACZQBkZY5ocxT4RbwzGEVhl/LRiE1p4nB3QdClqZja1W7VUrPBzQ5BzAKlM2J 5gz7gPy1xKGGfX1PHTn0fRGo3eQQVL9lMaxSgEWyzZVDaHTrqV91QUi6a2PnSUsN FVyYdQ== 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=OMDJmPtWu7No4KlwwSRSMLkrs3nVpEE6UFjaANprp rI=; b=XqU4rTzUiCk89PUzxlyk/zcOIDvkr0l54UJ7M+Q6ewcSFvy4jSR0/auZS Q+Iecl3qvtNdbKdkWnCi+QWQKaeqX8Ghtdv4Ycs+RoLQ1ILNi1o30hZVhfurmpB2 RJuX59gPLjsxVtRmAxUSzEjl59iy4XdGU88SSP2kpC6XDzWfjuq1IbAZ0nzpT7qi CX0Q0Huyb0wJUmNbQAmPHchekGuopevtbb5GX7W/Eb2Dmnuvx1s2zP1l0ItP4hf6 aQI4BNJHXhA2yiWRuQkICdfbZmn3K8CrQXTnVpoV860cniplkyI0phbTLeoJYhUn W6PExVnA/92kxnyKMa1lyXsE2Js8Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdekgddutdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 18 Jul 2021 14:28:41 -0400 (EDT) From: Thomas Monjalon To: Xueming Li Cc: Viacheslav Ovsiienko , dev@dpdk.org, xuemingl@nvidia.com, Matan Azrad , Shahaf Shuler , Ray Kinsella Date: Sun, 18 Jul 2021 20:28:50 +0200 Message-ID: <3136162.L0fBmL6Tbv@thomas> In-Reply-To: <20210713131437.30170-2-xuemingl@nvidia.com> References: <20210616040935.311733-2-xuemingl@nvidia.com> <20210713131437.30170-2-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 01/14] common/mlx5: add common device driver 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 Sender: "dev" 13/07/2021 15:14, Xueming Li: > +static const struct { > + const char *name; > + unsigned int drv_class; > +} mlx5_classes[] = { > + { .name = "vdpa", .drv_class = MLX5_CLASS_VDPA }, > + { .name = "eth", .drv_class = MLX5_CLASS_ETH }, > + /* Keep class "net" for backward compatibility. */ > + { .name = "net", .drv_class = MLX5_CLASS_ETH }, > + { .name = "regex", .drv_class = MLX5_CLASS_REGEX }, > + { .name = "compress", .drv_class = MLX5_CLASS_COMPRESS }, > +}; [...] > enum mlx5_class { > MLX5_CLASS_INVALID, > - MLX5_CLASS_NET = RTE_BIT64(0), > + MLX5_CLASS_ETH = RTE_BIT64(0), [...] > static struct mlx5_pci_driver mlx5_driver = { > - .driver_class = MLX5_CLASS_NET, > + .driver_class = MLX5_CLASS_ETH, There are other occurences of MLX5_CLASS_NET in mlx5_common_pci.c so this patch does not compile. This change may deserve a separate commit.