OSDN Git Service

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)
commitcc648f851f7794c2f945e2889ae6e77d05cf4e5d
tree048540eec82f15a4ebd86c8511373b0be843a3f8
parent1435d997037899924187c704ac672257d9576f3e
parenta258aeacd7f0dc10bb45caa7e92a3ea3ca1a76e9
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 <davem@davemloft.net>