summaryrefslogtreecommitdiff
path: root/tools/net
diff options
context:
space:
mode:
authorDavid Ahern <dsa@cumulusnetworks.com>2016-02-02 08:17:07 -0800
committerDavid S. Miller <davem@davemloft.net>2016-02-11 04:18:26 -0500
commitdc599f76c22b0de55a2a9141dfe52e70b32a1194 (patch)
treef591f7f7039d598333bee9e1a720094154da6504 /tools/net
parentfd1914b2901badd942f008ce57bf4a938d29fde4 (diff)
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