[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190118123023.17614-1-nikolay@cumulusnetworks.com>
Date: Fri, 18 Jan 2019 14:30:19 +0200
From: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
To: netdev@...r.kernel.org
Cc: roopa@...ulusnetworks.com, j.vosburgh@...il.com, vfalico@...il.com,
andy@...yhouse.net, davem@...emloft.net,
Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Subject: [PATCH net-next 0/4] bonding: add 3ad stats and export them via xstats
Hi,
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.
Thanks,
Nik
Nikolay Aleksandrov (4):
bonding: adjust style of bond_3ad_rx_indication
bonding: 3ad: remove bond_3ad_rx_indication's length argument
bonding: add 3ad stats
bonding: add support for xstats and export 3ad stats
drivers/net/bonding/bond_3ad.c | 201 ++++++++++++++++++++++-------
drivers/net/bonding/bond_netlink.c | 71 ++++++++++
include/net/bond_3ad.h | 17 +++
include/uapi/linux/if_bonding.h | 24 ++++
include/uapi/linux/if_link.h | 1 +
5 files changed, 264 insertions(+), 50 deletions(-)
--
2.17.2
Powered by blists - more mailing lists