From: David S. Miller Date: Tue, 22 Jan 2019 20:04:15 +0000 (-0800) Subject: Merge branch 'bonding-add-3ad-stats-and-export-them-via-xstats' X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=cc648f851f7794c2f945e2889ae6e77d05cf4e5d;p=openwrt%2Fstaging%2Fblogic.git Merge branch 'bonding-add-3ad-stats-and-export-them-via-xstats' Nikolay Aleksandrov says: ==================== bonding: add 3ad stats and export them via xstats This set adds support for counting some 3ad-specific packet types and exports the new stats via the xstats API. atomic64 counters are used since these are not fastpaths and we can avoid the per-cpu allocations. Each 3ad counter is exported as a separate attribute to be easily extensible since we plan to add more later. The stats are per-slave and when the master stats are requested the slaves' stats are summed up. Patches 01 and 02 do minor cleanups in preparation for the new stats API. Patch 03 adds the new stats and patch 04 adds xstats support to export them. ==================== Signed-off-by: David S. Miller --- cc648f851f7794c2f945e2889ae6e77d05cf4e5d