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=-3.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_GIT 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 8A82BC43381 for ; Sat, 30 Mar 2019 00:47:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 52F9B218FC for ; Sat, 30 Mar 2019 00:47:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553906853; bh=FIxpOyvoKUH4GTvTWOUHfUe+BUNOkRFiqvTc6c4fI6Y=; h=From:To:Cc:Subject:Date:List-ID:From; b=pwe37TOix0WIHM0stQN6qLqw3Qq4ntvt8NkrTLl10YwaBCN/DaD/Ap0MIglTFEdn5 inuvGv7+Fv70+llWmoyQQsKclQb+EJ22GffPg0oNMMuBBODr4HyiFeJDGfjCMUqx9+ 0ezmzTjDLadAXsU8iopU1iZ5SZMF/V87RyUL3E7w= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730388AbfC3Arc (ORCPT ); Fri, 29 Mar 2019 20:47:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:56364 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730082AbfC3Arb (ORCPT ); Fri, 29 Mar 2019 20:47:31 -0400 Received: from kenny.it.cumulusnetworks.com. (fw.cumulusnetworks.com [216.129.126.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3873F2070B; Sat, 30 Mar 2019 00:47:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553906851; bh=FIxpOyvoKUH4GTvTWOUHfUe+BUNOkRFiqvTc6c4fI6Y=; h=From:To:Cc:Subject:Date:From; b=ygEXqJ12HGAeL4R/L+5BckcynTbOLIbl+RwDqRgWyvad0XhhH9LU3DHAedgoXWOyg gMe0xppzyGH5eZYZJluw0AMczixVcJP/PX/x33MQmKjXUmEx2gDhC+yAlUxZ3N6ehk w7mu3cl/CmRzU8HndO9TxOYtMbitKQYC9t96fD14= From: David Ahern To: davem@davemloft.net, netdev@vger.kernel.org Cc: idosch@mellanox.com, David Ahern Subject: [PATCH net-next 0/8] net: More movement to fib_nh_common Date: Fri, 29 Mar 2019 17:47:23 -0700 Message-Id: <20190330004731.23959-1-dsahern@kernel.org> X-Mailer: git-send-email 2.11.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: David Ahern Second set of three with the end goal of enabling IPv6 gateways with IPv4 routes. This set moves: - the ipv4 tracepoint to take a fib_nh_common and updates it to handle a v6 gateway. - cached routes and exception buckets to fib_nh_common - consolidates route notifications to use the same fill functions for both ipv4 and ipv6 David Ahern (8): ipv4: Update fib_table_lookup tracepoint to take common nexthop ipv4: Add fib_nh_common to fib_result ipv4: Move cached routes to fib_nh_common ipv6: Move exceptions to fib_nh_common ipv4: Switch to nhc_exceptions for exception bucket ipv4: Refactor nexthop attributes in fib_dump_info ipv4: Change fib_nexthop_info and fib_add_nexthop to take fib_nh_common ipv6: Flip to fib_nexthop_info include/net/ip6_fib.h | 6 +- include/net/ip_fib.h | 63 ++++++----- include/trace/events/fib.h | 45 ++++---- net/core/filter.c | 12 +- net/ipv4/fib_frontend.c | 6 +- net/ipv4/fib_lookup.h | 1 + net/ipv4/fib_semantics.c | 266 +++++++++++++++++++++++++++++++-------------- net/ipv4/fib_trie.c | 13 ++- net/ipv4/route.c | 125 ++++++++++++--------- net/ipv6/ip6_fib.c | 7 -- net/ipv6/route.c | 218 +++++++++++++++++-------------------- 11 files changed, 429 insertions(+), 333 deletions(-) -- 2.11.0