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 2FC16C43381 for ; Wed, 27 Mar 2019 09:24:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F28722075C for ; Wed, 27 Mar 2019 09:24:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=Mellanox.com header.i=@Mellanox.com header.b="gKwaNWBZ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726598AbfC0JYJ (ORCPT ); Wed, 27 Mar 2019 05:24:09 -0400 Received: from mail-eopbgr20082.outbound.protection.outlook.com ([40.107.2.82]:3907 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725772AbfC0JYJ (ORCPT ); Wed, 27 Mar 2019 05:24:09 -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=3Zcfntmj0FX0qz1sG2hvXGUnrrJjoAbL5cZQwYWi0P8=; b=gKwaNWBZOGIQ67RjYjzI5nWk3wZPW9HOT4eBS865IdQj9K1M+z0K+TYhye2P7j44M1pvz4/z9+MBkL2k6byXYDU2i2mKI8ezeQ19MFEXYnUQL9OVMTQveFE8j96KqA0Qd060r3Uw/dtb1ubV+iBUK2/N2S+y52Wp5zUH1tUWXDw= Received: from AM0PR05MB6100.eurprd05.prod.outlook.com (20.178.119.209) by AM0PR05MB6177.eurprd05.prod.outlook.com (20.178.112.84) 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:24:03 +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:24:03 +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 09/13] ipv6: Change rt6_add_nexthop and rt6_nexthop_info to take fib6_nh Thread-Topic: [PATCH net-next 09/13] ipv6: Change rt6_add_nexthop and rt6_nexthop_info to take fib6_nh Thread-Index: AQHU5E1b6aajhssOR0SyjGuV5TTtNqYfNQWA Date: Wed, 27 Mar 2019 09:24:03 +0000 Message-ID: <20190327092401.GA16779@splinter> References: <20190327032942.20473-1-dsahern@kernel.org> <20190327032942.20473-10-dsahern@kernel.org> In-Reply-To: <20190327032942.20473-10-dsahern@kernel.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM6PR0202CA0005.eurprd02.prod.outlook.com (2603:10a6:209:15::18) 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: b7936bbd-fbee-45a9-5deb-08d6b295f408 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:AM0PR05MB6177; x-ms-traffictypediagnostic: AM0PR05MB6177: x-microsoft-antispam-prvs: x-forefront-prvs: 0989A7979C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(7916004)(376002)(366004)(39860400002)(396003)(346002)(136003)(199004)(189003)(229853002)(8676002)(316002)(76176011)(6246003)(8936002)(6512007)(305945005)(2906002)(81166006)(9686003)(7736002)(81156014)(99286004)(52116002)(6916009)(66066001)(53936002)(14454004)(3846002)(54906003)(6486002)(26005)(1076003)(33656002)(386003)(6506007)(186003)(6116002)(68736007)(4744005)(256004)(11346002)(102836004)(478600001)(476003)(14444005)(486006)(97736004)(86362001)(33716001)(6436002)(71200400001)(106356001)(71190400001)(5660300002)(105586002)(25786009)(446003)(4326008);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR05MB6177;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: Px8whIV8X6Cb1bnOmjGCMeKgaeiCryBVEALeq8oXzLQaJHTsYEON1KJTZV0MNwfAaD4tmuOPXyq9/WogcVhgNWte5oR9f+rDYqjHICuFKI8pDYHnIfHgwPvzh+9ZywAvm6MmHNFE+1o1eW2fEhk01WjQE9Forn3yfKZc0PXu13GCDvcx6ucvLk5Hk+T6iPoHggVhFqDEusa/t13HxT8b5V+T6pg6czXuEepXUKNpajFFzKayHHF2AB/lMZUIQrZBT6luzR5GDSaNb/DP2aqWiJFvHEj72/K+UphUEGOqvAX9HG2bTOA7UxSdeXDn8mmuLZtFx642OVfj8gNI3emLN6lhipdvkiEH3WScWYBrzAF8VHtdv1SGEX9fUjroTtvGWyWIjC+xHjqpUFn869BwXyKoa3R2TneQ4biddbc32us= Content-Type: text/plain; charset="us-ascii" Content-ID: <4BD98E4D9232724B9A5DAFBE93E3D8AF@eurprd05.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: b7936bbd-fbee-45a9-5deb-08d6b295f408 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Mar 2019 09:24:03.7546 (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: AM0PR05MB6177 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:38PM -0700, David Ahern wrote: > From: David Ahern >=20 > rt6_add_nexthop and rt6_nexthop_info only need the fib6_info for the > gateway flag and the nexthop weight, and the presence of a gateway is now > per-nexthop. Update the signatures to take a fib6_nh and nexthop weight > and better align with the ipv4 versions. >=20 > Signed-off-by: David Ahern Reviewed-by: Ido Schimmel