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=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 6CF59C10F13 for ; Thu, 11 Apr 2019 21:24:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 416ED2084D for ; Thu, 11 Apr 2019 21:24:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726837AbfDKVYX (ORCPT ); Thu, 11 Apr 2019 17:24:23 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:35312 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726697AbfDKVYX (ORCPT ); Thu, 11 Apr 2019 17:24:23 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 1025914D3AC62; Thu, 11 Apr 2019 14:24:22 -0700 (PDT) Date: Thu, 11 Apr 2019 14:24:21 -0700 (PDT) Message-Id: <20190411.142421.605117681551474130.davem@davemloft.net> To: dsahern@kernel.org Cc: netdev@vger.kernel.org, idosch@mellanox.com, dsahern@gmail.com Subject: Re: [PATCH net-next 00/10] ipv6: Refactor nexthop selection helpers during a fib lookup From: David Miller In-Reply-To: <20190409214119.15258-1-dsahern@kernel.org> References: <20190409214119.15258-1-dsahern@kernel.org> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 11 Apr 2019 14:24:22 -0700 (PDT) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: David Ahern Date: Tue, 9 Apr 2019 14:41:09 -0700 > From: David Ahern > > IPv6 has a fib6_nh embedded within each fib6_info and a separate > fib6_info for each path in a multipath route. A side effect is that > a fib6_info is passed all the way down the stack when selecting a path > on a fib lookup. Refactor the fib lookup functions and associated > helper functions to take a fib6_nh when appropriate to enable IPv6 > to work with nexthop objects where the fib6_nh is not directly part > of a fib entry. Series applied, thanks David.