Merge branch 'bonding-add-3ad-stats-and-export-them-via-xstats'
authorDavid S. Miller <davem@davemloft.net>
Tue, 22 Jan 2019 20:04:15 +0000 (12:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Jan 2019 20:04:15 +0000 (12:04 -0800)
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 <davem@davemloft.net>

Trivial merge