[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1523911298-8965-1-git-send-email-roopa@cumulusnetworks.com>
Date: Mon, 16 Apr 2018 13:41:33 -0700
From: Roopa Prabhu <roopa@...ulusnetworks.com>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, dsa@...ulusnetworks.com
Subject: [PATCH net-next 0/5] fib rules extack support and selftest
From: Roopa Prabhu <roopa@...ulusnetworks.com>
The first patch refactors some fib rule common add del netlink
processing code. fibrule selftest uses route get, so this
patch extends route get with a few matches.
Roopa Prabhu (5):
fib_rules: move common handling of newrule delrule msgs into
fib_nl2rule
net: fib_rules: add extack support
ipv4: support sport, dport and ip protocol in RTM_GETROUTE
ipv6: support sport, dport and ip protocol in RTM_GETROUTE
selftests: net: initial fib rule tests
include/net/fib_rules.h | 3 +-
include/uapi/linux/rtnetlink.h | 3 +
net/core/fib_rules.c | 469 ++++++++++++--------------
net/ipv4/fib_rules.c | 7 +-
net/ipv4/route.c | 75 +++-
net/ipv6/fib6_rules.c | 7 +-
net/ipv6/route.c | 29 ++
tools/testing/selftests/net/Makefile | 2 +-
tools/testing/selftests/net/fib_rule_tests.sh | 208 ++++++++++++
9 files changed, 535 insertions(+), 268 deletions(-)
create mode 100755 tools/testing/selftests/net/fib_rule_tests.sh
--
2.1.4
Powered by blists - more mailing lists