summaryrefslogtreecommitdiffstats
path: root/tools/net
diff options
context:
space:
mode:
authorDavid Ahern <dsa@cumulusnetworks.com>2016-02-02 17:17:07 +0100
committerDavid S. Miller <davem@davemloft.net>2016-02-11 10:18:26 +0100
commitdc599f76c22b0de55a2a9141dfe52e70b32a1194 (patch)
treef591f7f7039d598333bee9e1a720094154da6504 /tools/net
parentMerge branch 'tcp-fast-so_reuseport' (diff)
downloadlinux-dc599f76c22b0de55a2a9141dfe52e70b32a1194.tar.xz
linux-dc599f76c22b0de55a2a9141dfe52e70b32a1194.zip
net: Add support for filtering link dump by master device and kind
Add support for filtering link dumps by master device and kind, similar to the filtering implemented for neighbor dumps. Each net_device that exists adds between 1196 bytes (eth) and 1556 bytes (bridge) to the link dump. As the number of interfaces increases so does the amount of data pushed to user space for a link list. If the user only wants to see a list of specific devices (e.g., interfaces enslaved to a specific bridge or a list of VRFs) most of that data is thrown away. Passing the filters to the kernel to have only relevant data returned makes the dump more efficient. Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/net')
0 files changed, 0 insertions, 0 deletions