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 5B9BBA0613 for ; Tue, 27 Aug 2019 14:24:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6C2121BFE3; Tue, 27 Aug 2019 14:24:13 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30070.outbound.protection.outlook.com [40.107.3.70]) by dpdk.org (Postfix) with ESMTP id 3FF8E1BF5B; Tue, 27 Aug 2019 14:24:12 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oS4/LAEyf0XQDntz1/UxiUZKodQQxrNfma2zlyOXZznp0n9CbjD75HoWok8IrTHjYXbV+D8kUqRHisouskybFpMVvsFaEKnqbHDug/BPS5zVk05Ck5ffujjuV/G9ir3mCjvAxn7eK4HDn+8AiZJ52Q86ypDttwaBYoIAr9mO8RdBT0IoFTiigPFs3xw3KNI0pQiySWllOELRIFQUHY3ixylscLov4uPJ4fE/esf2vLKyyL3FEWx6U9scnNdC6BqrSpPCmX/OxgPwhC9vqbo3z1ecE6cMlToE8khLhVqck/hPRIDVdpM5qAXLElubeQ+wHlZsFREGZJHE+1W47gjjFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PpAiWAkaTpbZe/CCHqC4hZ/47UBiLIJW2Tc9kHsEYho=; b=fk7av9sO/S5TbxpiJMNIRKZsoUheML1VnrpRxBXPvyxZ+7gIPrbuscewtlooV0t7Y/7pfQOgirTcLavpu2hiT/MhfC/mU0PNLFJH4NigJC/7Tuz0duTEbxbqC06mAqyWgArmYqbsbTVxvUHDSA1Pa6kqZGi19dX39FgADfeHh4fgb6grttW4zhhEXG8+uL4prqK3MOCRg8Omdj/7xvfosBInY5Ff5+EJidJkKJ+8fA+mJOPrs/P8Yeln0epLEzBfQXkCd4n28Vf/p4o2oq4BOv8Ox3NBG61Ewfd7wPdBCHBBq1XWAr3CNibb7Wmtgnev/OW/Ji3wq1pHx028vd4HDQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PpAiWAkaTpbZe/CCHqC4hZ/47UBiLIJW2Tc9kHsEYho=; b=jRwLUAeC6OJuXJZxYyRMfHnxgHa3xcZs159KOPF3oskNlvcsYhU8e1fQ+wziNtc20BqW6Zg1xFGZHFdVYxu1SqZO+ZEQJ5XD9nOKg64JGSaasDTbw3rk++9cuUUHdL56ZkHk+SFEcMTTef4lIuWS/ziT8YAWTboTNM+7C9fCfYQ= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB3636.eurprd05.prod.outlook.com (52.133.44.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.21; Tue, 27 Aug 2019 12:24:11 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::7deb:8e17:1363:e00e]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::7deb:8e17:1363:e00e%7]) with mapi id 15.20.2199.021; Tue, 27 Aug 2019 12:24:11 +0000 From: Matan Azrad To: Dekel Peled , Slava Ovsiienko , Shahaf Shuler CC: Ori Kam , "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] net/mlx5: remove unneeded constant definition Thread-Index: AQHVXMUtPMPyTpiIIkm24hNJDEnMa6cO6vPw Date: Tue, 27 Aug 2019 12:24:11 +0000 Message-ID: References: <020dc5f0dcd17d2780c233d780bfffcdf182753d.1566902525.git.dekelp@mellanox.com> In-Reply-To: <020dc5f0dcd17d2780c233d780bfffcdf182753d.1566902525.git.dekelp@mellanox.com> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e29ed848-1b54-4389-4120-08d72ae97746 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:AM0PR0502MB3636; x-ms-traffictypediagnostic: AM0PR0502MB3636: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3276; x-forefront-prvs: 0142F22657 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(366004)(396003)(346002)(39860400002)(136003)(189003)(199004)(486006)(6636002)(229853002)(476003)(11346002)(6506007)(76176011)(99286004)(7696005)(54906003)(110136005)(14454004)(4326008)(316002)(25786009)(102836004)(53936002)(558084003)(55016002)(9686003)(8676002)(81156014)(8936002)(66066001)(446003)(81166006)(6436002)(3846002)(33656002)(6116002)(86362001)(74316002)(478600001)(6246003)(26005)(305945005)(7736002)(2906002)(76116006)(256004)(71200400001)(66446008)(71190400001)(5660300002)(64756008)(52536014)(66946007)(66476007)(66556008)(186003)(450100002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3636; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: nNMBT9EDiQ/UX0fLvxCn/6K4iijvbsyZQBdJdtS2cNwp7AJzqbEn/cMY8hP9bFSt+0AmAYxyy3s6JY10iDypJTwXrIEVzPvzHHd0Ks7s3B2lwfoe8DwMYxJtYJGhLSCp+qg4y7pncVK1VJh1z0myJGE1BIxE0ZOzoMahhTx9aTqsk7mNE68KXYrx/t9nMsFA33/Bn8P8iW9nwNRrWhnzJypXvYC+UTM3AIOxcFPnx79d2ZsWdhFFuLyvLeWBNq4jWDa/yPjKrf9wnKFltRfb5qWAXBh+46G7oAtReLCoOhlzgg+eekd4Tp00nHwa4lcKIiAG+cIz1319VnnD4QQG5wYsIMiYWiY8Vc+zr+3V6ddHIgf0z/OOU7uyasr39l8KBSmvxDz298aiqPmOPWl9/WtixyExo/qO/ZCaFVELkQo= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: e29ed848-1b54-4389-4120-08d72ae97746 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2019 12:24:11.2394 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: TLXaCpermV0bdxS5tdzqwqeORnIyi2Lb8WECJTUR7TBhXknmkzRsrrh1yPDoBUbN3yXYiJFDr6XSryjOzJl5GQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3636 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: remove unneeded constant definition 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: Dekel Peled > Constant MLX5_GROUP_FACTOR is defined with value 1, and used to > multiply group value in two places. >=20 > This patch removes the unneeded constant definition and use. >=20 > Cc: stable@dpdk.org >=20 > Signed-off-by: Dekel Peled Acked-by: Matan Azrad