lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1489221779-3807-1-git-send-email-jiri@resnulli.us>
Date:   Sat, 11 Mar 2017 09:42:50 +0100
From:   Jiri Pirko <jiri@...nulli.us>
To:     netdev@...r.kernel.org
Cc:     davem@...emloft.net, arkadis@...lanox.com, mlxsw@...lanox.com,
        idosch@...lanox.com
Subject: [patch net-next 0/9] mlxsw: Add support for TC flower offload statistics

From: Jiri Pirko <jiri@...lanox.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ