From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 581BAC43381 for ; Thu, 28 Mar 2019 11:22:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1A1E72173C for ; Thu, 28 Mar 2019 11:22:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=Mellanox.com header.i=@Mellanox.com header.b="Cg1W8GL1" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726257AbfC1LWr (ORCPT ); Thu, 28 Mar 2019 07:22:47 -0400 Received: from mail-eopbgr60084.outbound.protection.outlook.com ([40.107.6.84]:22703 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725779AbfC1LWr (ORCPT ); Thu, 28 Mar 2019 07:22:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2AmoAtHxpYpfM6CrSvzjbSVJZ91lTCiJwIqGi492Wqk=; b=Cg1W8GL1hgeacXoHbBmMicnys5kzRPKCp3I0sQooCc2OsvNKSqGW48D2x9zhxIN4tPSFXBOlX333391egrvhU3s3+aZAuqaSXqroVDi3ludyzFgJqTfPmT80H09gNFrpqSZlZgC0BjXRxFLeDKYSyAWl6JRBHPGzRQItnDNaQsk= Received: from AM0PR05MB6100.eurprd05.prod.outlook.com (20.178.119.209) by AM0PR05MB5314.eurprd05.prod.outlook.com (20.178.18.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.15; Thu, 28 Mar 2019 11:22:44 +0000 Received: from AM0PR05MB6100.eurprd05.prod.outlook.com ([fe80::85ee:723:721e:51f9]) by AM0PR05MB6100.eurprd05.prod.outlook.com ([fe80::85ee:723:721e:51f9%4]) with mapi id 15.20.1730.019; Thu, 28 Mar 2019 11:22:44 +0000 From: Ido Schimmel To: David Ahern CC: "davem@davemloft.net" , "netdev@vger.kernel.org" , Jiri Pirko , Saeed Mahameed , David Ahern Subject: Re: [PATCH v3 net-next 12/13] net: Add fib_nh_common and update fib_nh and fib6_nh Thread-Topic: [PATCH v3 net-next 12/13] net: Add fib_nh_common and update fib_nh and fib6_nh Thread-Index: AQHU5RpFvdbXbxIM/0GqR81zUs1REaYg5uiA Date: Thu, 28 Mar 2019 11:22:44 +0000 Message-ID: <20190328112241.GD19672@splinter> References: <20190328035358.4929-1-dsahern@kernel.org> <20190328035358.4929-13-dsahern@kernel.org> In-Reply-To: <20190328035358.4929-13-dsahern@kernel.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: LO2P265CA0424.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a0::28) To AM0PR05MB6100.eurprd05.prod.outlook.com (2603:10a6:208:12e::17) authentication-results: spf=none (sender IP is ) smtp.mailfrom=idosch@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e305808c-330a-4599-cf0e-08d6b36fb29d x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM0PR05MB5314; x-ms-traffictypediagnostic: AM0PR05MB5314: x-microsoft-antispam-prvs: x-forefront-prvs: 0990C54589 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(7916004)(366004)(136003)(39850400004)(376002)(396003)(346002)(199004)(189003)(9686003)(66066001)(97736004)(99286004)(478600001)(6246003)(53936002)(105586002)(86362001)(14454004)(6512007)(2906002)(4326008)(486006)(106356001)(33656002)(68736007)(305945005)(26005)(446003)(5660300002)(476003)(71200400001)(71190400001)(54906003)(8676002)(3846002)(1076003)(4744005)(6916009)(33716001)(81156014)(102836004)(386003)(316002)(52116002)(76176011)(6506007)(8936002)(6436002)(229853002)(6486002)(25786009)(186003)(7736002)(11346002)(81166006)(6116002)(256004);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR05MB5314;H:AM0PR05MB6100.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX: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: BO8nnu1PbiBQuCNtVUcJbBaV5mzwFbiz8AdieeQGapP/xtL2SKWJHut26knjt0tAGykDpd8MrsW+hVfVmtKmskyb17AeZT0aL9mxFkjQIYeWOyI5mqG5cTXOKy6Op5hGiPABZH40+LHPonXZjlAcaQ8wEik9BHYGSH7mvDu+YWXgpZiC4W2kITEhAvUGousklmHn/tJ51k4LY1pNyiOTy09Bs/edjqGTdbZJNbUOShQ6Kon5sGFz9etBB/TLP8w5o5TLizlnOxWzOf175PkJ/0yzgucax20gYuEPoxkeU8LQ7ItMhrkD77bfro0rXhGtuusLzdLucdyywbm8ApuiDLawKBY07/CZ3hXcXxmRsIx3Iu8BsSqKHYEeA7DL4Q8uQ0+Lqfizxfge6U23pFwX7hT97yJaW7Ewz+7rs4Sglaw= Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: e305808c-330a-4599-cf0e-08d6b36fb29d X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Mar 2019 11:22:44.1744 (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-Transport-CrossTenantHeadersStamped: AM0PR05MB5314 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Wed, Mar 27, 2019 at 08:53:57PM -0700, David Ahern wrote: > From: David Ahern >=20 > Add fib_nh_common struct with common nexthop attributes. Convert > fib_nh and fib6_nh to use it. Use macros to move existing > fib_nh_* references to the new nh_common.nhc_*. >=20 > Signed-off-by: David Ahern Reviewed-by: Ido Schimmel