mbox series

[v4,net-next,0/2] fib: merge nl policies

Message ID 20211216120507.3299-1-fw@strlen.de (mailing list archive)
Headers show
Series fib: merge nl policies | expand

Message

Florian Westphal Dec. 16, 2021, 12:05 p.m. UTC
v4: resend with fixed subject line.  I preserved review tags
    from David Ahern.
v3: drop first two patches, otherwise unchanged.

This series merges the different (largely identical) nla policies.

v2 also squashed the ->suppress() implementation, I've dropped this.
Problem is that it needs ugly ifdef'ry to avoid build breakage
with CONFIG_INET=n || IPV6=n.

Given that even microbenchmark doesn't show any noticeable improvement
when ->suppress is inlined (it uses INDIRECT_CALLABLE) i decided to toss
the patch instead of adding more ifdefs.

Florian Westphal (2):
  fib: rules: remove duplicated nla policies
  fib: expand fib_rule_policy

 include/net/fib_rules.h | 21 ---------------------
 net/core/fib_rules.c    | 25 +++++++++++++++++++++++--
 net/decnet/dn_rules.c   |  5 -----
 net/ipv4/fib_rules.c    |  6 ------
 net/ipv4/ipmr.c         |  5 -----
 net/ipv6/fib6_rules.c   |  5 -----
 net/ipv6/ip6mr.c        |  5 -----
 7 files changed, 23 insertions(+), 49 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Dec. 16, 2021, 8:14 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 16 Dec 2021 13:05:05 +0100 you wrote:
> v4: resend with fixed subject line.  I preserved review tags
>     from David Ahern.
> v3: drop first two patches, otherwise unchanged.
> 
> This series merges the different (largely identical) nla policies.
> 
> v2 also squashed the ->suppress() implementation, I've dropped this.
> Problem is that it needs ugly ifdef'ry to avoid build breakage
> with CONFIG_INET=n || IPV6=n.
> 
> [...]

Here is the summary with links:
  - [v4,net-next,1/2] fib: rules: remove duplicated nla policies
    https://git.kernel.org/netdev/net-next/c/92e1bcee067f
  - [v4,net-next,2/2] fib: expand fib_rule_policy
    https://git.kernel.org/netdev/net-next/c/66495f301c69

You are awesome, thank you!