From: Jiri Pirko <jiri@resnulli.us>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, arkadis@mellanox.com, mlxsw@mellanox.com,
idosch@mellanox.com
Subject: [patch net-next 0/9] mlxsw: Add support for TC flower offload statistics
Date: Sat, 11 Mar 2017 09:42:50 +0100 [thread overview]
Message-ID: <1489221779-3807-1-git-send-email-jiri@resnulli.us> (raw)
From: Jiri Pirko <jiri@mellanox.com>
Arkadi says:
This patchset adds support for retrieving TC flower statistics for
offloaded rules, which includes packets count, bytes count and last used
time stamp. Currently The statistics are gathered on a per-rule basis.
This patchset also includes generic allocator for counters.
Arkadi Sharshevsky (9):
mlxsw: spectrum: Add support for counter allocator
mlxsw: reg: Add Monitoring General Purpose Counter Set register
mlxsw: spectrum: Add support for generic flow counter allocation
mlxsw: spectrum_acl_tcam: Add support for retrieving TCAM entry
activity
mlxsw: spectrum: Add support for direct rule access
mlxsw: spectrum: Add periodic ACL rule activity update
mlxsw: spectrum: Add support for Policing and Counting action block
mlxsw: spectrum: Add support for counters on TCAM entries
mlxsw: spectrum: Add support for TC flower offload statistics
drivers/net/ethernet/mellanox/mlxsw/Makefile | 3 +-
.../mellanox/mlxsw/core_acl_flex_actions.c | 51 ++++++
.../mellanox/mlxsw/core_acl_flex_actions.h | 2 +
drivers/net/ethernet/mellanox/mlxsw/reg.h | 65 +++++++
drivers/net/ethernet/mellanox/mlxsw/resources.h | 4 +
drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 67 +++++++
drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 20 +++
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c | 143 ++++++++++++++-
.../ethernet/mellanox/mlxsw/spectrum_acl_tcam.c | 42 +++++
drivers/net/ethernet/mellanox/mlxsw/spectrum_cnt.c | 198 +++++++++++++++++++++
drivers/net/ethernet/mellanox/mlxsw/spectrum_cnt.h | 53 ++++++
.../net/ethernet/mellanox/mlxsw/spectrum_flower.c | 49 +++++
12 files changed, 695 insertions(+), 2 deletions(-)
create mode 100644 drivers/net/ethernet/mellanox/mlxsw/spectrum_cnt.c
create mode 100644 drivers/net/ethernet/mellanox/mlxsw/spectrum_cnt.h
--
2.7.4
next reply other threads:[~2017-03-11 8:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-11 8:42 Jiri Pirko [this message]
2017-03-11 8:42 ` [patch net-next 1/9] mlxsw: spectrum: Add support for counter allocator Jiri Pirko
2017-03-11 8:42 ` [patch net-next 2/9] mlxsw: reg: Add Monitoring General Purpose Counter Set register Jiri Pirko
2017-03-11 8:42 ` [patch net-next 3/9] mlxsw: spectrum: Add support for generic flow counter allocation Jiri Pirko
2017-03-11 8:42 ` [patch net-next 4/9] mlxsw: spectrum_acl_tcam: Add support for retrieving TCAM entry activity Jiri Pirko
2017-03-11 8:42 ` [patch net-next 5/9] mlxsw: spectrum: Add support for direct rule access Jiri Pirko
2017-03-11 8:42 ` [patch net-next 6/9] mlxsw: spectrum: Add periodic ACL rule activity update Jiri Pirko
2017-03-11 8:42 ` [patch net-next 7/9] mlxsw: spectrum: Add support for Policing and Counting action block Jiri Pirko
2017-03-11 8:42 ` [patch net-next 8/9] mlxsw: spectrum: Add support for counters on TCAM entries Jiri Pirko
2017-03-11 8:42 ` [patch net-next 9/9] mlxsw: spectrum: Add support for TC flower offload statistics Jiri Pirko
2017-03-13 6:50 ` [patch net-next 0/9] mlxsw: " David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1489221779-3807-1-git-send-email-jiri@resnulli.us \
--to=jiri@resnulli.us \
--cc=arkadis@mellanox.com \
--cc=davem@davemloft.net \
--cc=idosch@mellanox.com \
--cc=mlxsw@mellanox.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).