aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-10-16 00:14:18 -0700
committerDavid S. Miller <davem@davemloft.net>2018-10-16 00:14:18 -0700
commit2c59f06cc0442862d589c36bd2f29667f96c35e7 (patch)
treeeca4db1ca406c8c5d36daebbd92576ababdc4869 /tools/lib/bpf
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next (diff)
parentnet/ipv4: Bail early if user only wants prefix entries (diff)
downloadlinux-dev-2c59f06cc0442862d589c36bd2f29667f96c35e7.tar.xz
linux-dev-2c59f06cc0442862d589c36bd2f29667f96c35e7.zip
Merge branch 'net-Kernel-side-filtering-for-route-dumps'
David Ahern says: ==================== net: Kernel side filtering for route dumps Implement kernel side filtering of route dumps by protocol (e.g., which routing daemon installed the route), route type (e.g., unicast), table id and nexthop device. iproute2 has been doing this filtering in userspace for years; pushing the filters to the kernel side reduces the amount of data the kernel sends and reduces wasted cycles on both sides processing unwanted data. These initial options provide a huge improvement for efficiently examining routes on large scale systems. v2 - better handling of requests for a specific table. Rather than walking the hash of all tables, lookup the specific table and dump it - refactor mr_rtm_dumproute moving the loop over the table into a helper that can be invoked directly - add hook to return NLM_F_DUMP_FILTERED in DONE message to ensure it is returned even when the dump returns nothing ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions