]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf040e4166d7e6db75695aa7b3289e581607842b3
tree048540eec82f15a4ebd86c8511373b0be843a3f8
parent4b52649940fe2d5e98d68d3d8ad942a4359bbf86
parent69b5c4af867771b0d6ff32f57dd45f4192141912
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>