From: David Ahern Date: Thu, 12 May 2022 17:09:29 +0000 (-0600) Subject: Merge branch 'support-xstats-afstats' into next X-Git-Tag: v5.19.0~24^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a179c7217c59552faff65e8c5f1dfd85dee685e;p=thirdparty%2Fiproute2.git Merge branch 'support-xstats-afstats' into next Petr Machata says: ==================== The RTM_GETSTATS response attributes IFLA_STATS_LINK_XSTATS and IFLA_STATS_LINK_XSTATS_SLAVE are used to carry statistics related to, respectively, netdevices of a certain type, and netdevices enslaved to netdevices of a certain type. IFLA_STATS_AF_SPEC are similarly used to carry statistics specific to a certain address family. In this patch set, add support for three new stats groups that cover the above attributes: xstats, xstats_slave and afstats. Add bridge and bond subgroups to the former two groups, and mpls subgroup to the latter one. Now "group" is used for selecting the top-level attribute, and subgroup for the link-type or address-family nest below it (bridge, bond, mpls in this patchset). But xstats (both master and slave) are further subdivided. E.g. in the case of bridge statistics, the two subdivisions are called "stp" and "mcast". To make it possible to pick these sets, add to the two selector levels of group and subgroup a third level, suite, which is filtered in the userspace. ==================== Signed-off-by: David Ahern --- 5a179c7217c59552faff65e8c5f1dfd85dee685e