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,URIBL_BLOCKED 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 CC655C43381 for ; Wed, 27 Mar 2019 09:54:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9EA132075D for ; Wed, 27 Mar 2019 09:54:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=Mellanox.com header.i=@Mellanox.com header.b="Wp8Vb+RW" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732891AbfC0Jyh (ORCPT ); Wed, 27 Mar 2019 05:54:37 -0400 Received: from mail-eopbgr20042.outbound.protection.outlook.com ([40.107.2.42]:39152 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725827AbfC0Jyh (ORCPT ); Wed, 27 Mar 2019 05:54:37 -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=A8MkfVvuI5FFOOUVF12ZKYRi6acXUFPm7aUbmeZFBB4=; b=Wp8Vb+RWBou1fAAi96SrTHS52FH4Va0VQJKcONTmLqezSyh9IKAZPtvbmdIR6Rmr1Qc9ZVfOI6fYkDuJDuPBiE0nkvJC1MPX+c//jSwrKnAwDDppLaKqljaw0SEb769F+/6WGXpdmsHDHPbws2/TSHgI81yo4U/jgLrIdFTP3UQ= Received: from AM0PR05MB6100.eurprd05.prod.outlook.com (20.178.119.209) by AM0PR05MB5682.eurprd05.prod.outlook.com (20.178.114.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.18; Wed, 27 Mar 2019 09:54:30 +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; Wed, 27 Mar 2019 09:54:30 +0000 From: Ido Schimmel To: David Ahern CC: "davem@davemloft.net" , "netdev@vger.kernel.org" , Jiri Pirko , Saeed Mahameed , David Ahern Subject: Re: [PATCH net-next 12/13] net: Add fib_nh_common and update fib_nh and fib6_nh Thread-Topic: [PATCH net-next 12/13] net: Add fib_nh_common and update fib_nh and fib6_nh Thread-Index: AQHU5E1c0QVlgi0NskCF9mrMqeGYQKYfPYcA Date: Wed, 27 Mar 2019 09:54:30 +0000 Message-ID: <20190327095428.GA17894@splinter> References: <20190327032942.20473-1-dsahern@kernel.org> <20190327032942.20473-13-dsahern@kernel.org> In-Reply-To: <20190327032942.20473-13-dsahern@kernel.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM6P195CA0036.EURP195.PROD.OUTLOOK.COM (2603:10a6:209:81::49) To AM0PR05MB6100.eurprd05.prod.outlook.com (2603:10a6:208:12e::17) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b0c51f3f-4e80-461c-ecd6-08d6b29a34fe x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600127)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:AM0PR05MB5682; x-ms-traffictypediagnostic: AM0PR05MB5682: authentication-results: spf=none (sender IP is ) smtp.mailfrom=idosch@mellanox.com; x-microsoft-antispam-prvs: x-forefront-prvs: 0989A7979C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(7916004)(39860400002)(396003)(136003)(346002)(376002)(366004)(199004)(189003)(102836004)(386003)(53936002)(14454004)(6512007)(478600001)(9686003)(186003)(26005)(86362001)(5660300002)(71200400001)(4744005)(1076003)(6436002)(305945005)(6246003)(76176011)(256004)(6506007)(71190400001)(6486002)(3846002)(486006)(11346002)(68736007)(33656002)(229853002)(446003)(2906002)(106356001)(7736002)(6916009)(316002)(105586002)(66066001)(81156014)(8676002)(25786009)(99286004)(33716001)(97736004)(81166006)(52116002)(54906003)(8936002)(6116002)(4326008)(476003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR05MB5682;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: OuYZYhgkDeK1gYZNrYVF4AGzDQOlqfzYmaiw/RlStTMkJ10CILqplpgy33/5g6HD/fwbbdGVTUxoIx4Tk3rmZU06DA97G38UIH76JqJXLq0ZdLdx//GaGEBTzNkz5OTYSMzdh8VwG2atyVwllxhHfcNaHS7FKvu8IQTnbR48s2Rf72JPykQW+5mEKuhdlMiabai3AvdIiizCNBOuUAOgYw3OyKJjWIFR45vb8IzsvMhTEVTcVsrIyIHKW/rMZKrMpKea7+5ic5EZeiRVzGTvY89Sp67mfGZy2N6SegP8EGAr6xujx8gTfh3tarjWs68DHYG0Q6ITFqu5vQQgqLEoD2UHLoz4CDMQD1uYOVMPCIbktpyRKthKB0G5nqfuXls4mmiLPD7/RkZ0prceXeclvj/pVrAf9vp+tSAJ5LcNFy4= 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: b0c51f3f-4e80-461c-ecd6-08d6b29a34fe X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Mar 2019 09:54:30.6275 (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: AM0PR05MB5682 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, Mar 26, 2019 at 08:29:41PM -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