netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Ahern <dsahern@kernel.org>
To: davem@davemloft.net, netdev@vger.kernel.org
Cc: idosch@mellanox.com, David Ahern <dsahern@gmail.com>
Subject: [PATCH net-next 0/8] net: More movement to fib_nh_common
Date: Fri, 29 Mar 2019 17:47:23 -0700	[thread overview]
Message-ID: <20190330004731.23959-1-dsahern@kernel.org> (raw)

From: David Ahern <dsahern@gmail.com>

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


             reply	other threads:[~2019-03-30  0:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-30  0:47 David Ahern [this message]
2019-03-30  0:47 ` [PATCH net-next 1/8] ipv4: Update fib_table_lookup tracepoint to take common nexthop David Ahern
2019-03-30  0:47 ` [PATCH net-next 2/8] ipv4: Add fib_nh_common to fib_result David Ahern
2019-03-30  0:47 ` [PATCH net-next 3/8] ipv4: Move cached routes to fib_nh_common David Ahern
2019-03-31  0:11   ` David Ahern
2019-03-31  1:41     ` David Miller
2019-03-30  0:47 ` [PATCH net-next 4/8] ipv6: Move exceptions " David Ahern
2019-03-30  0:47 ` [PATCH net-next 5/8] ipv4: Switch to nhc_exceptions for exception bucket David Ahern
2019-03-30  0:47 ` [PATCH net-next 6/8] ipv4: Refactor nexthop attributes in fib_dump_info David Ahern
2019-03-30  0:47 ` [PATCH net-next 7/8] ipv4: Change fib_nexthop_info and fib_add_nexthop to take fib_nh_common David Ahern
2019-03-30  0:47 ` [PATCH net-next 8/8] ipv6: Flip to fib_nexthop_info David Ahern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190330004731.23959-1-dsahern@kernel.org \
    --to=dsahern@kernel.org \
    --cc=davem@davemloft.net \
    --cc=dsahern@gmail.com \
    --cc=idosch@mellanox.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).