netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 net-next 0/4] fib: merge nl policies
@ 2021-12-15 11:32 Florian Westphal
  2021-12-15 11:32 ` [PATCH v3 net-next 1/2] fib: rules: remove duplicated nla policies Florian Westphal
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Florian Westphal @ 2021-12-15 11:32 UTC (permalink / raw)
  To: netdev; +Cc: davem, kuba, dsahern, Florian Westphal

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(-)

-- 
2.32.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-12-16  2:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-15 11:32 [PATCH v3 net-next 0/4] fib: merge nl policies Florian Westphal
2021-12-15 11:32 ` [PATCH v3 net-next 1/2] fib: rules: remove duplicated nla policies Florian Westphal
2021-12-15 15:38   ` David Ahern
2021-12-15 11:32 ` [PATCH v3 net-next 2/2] fib: expand fib_rule_policy Florian Westphal
2021-12-15 15:38   ` David Ahern
2021-12-16  2:51 ` [PATCH v3 net-next 0/4] fib: merge nl policies Jakub Kicinski

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).