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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180213102748.7957-1-jiri@resnulli.us>
Date:   Tue, 13 Feb 2018 11:27:45 +0100
From:   Jiri Pirko <jiri@...nulli.us>
To:     netdev@...r.kernel.org
Cc:     davem@...emloft.net, idosch@...lanox.com, petrm@...lanox.com,
        mlxsw@...lanox.com
Subject: [patch net-next 0/3] mlxsw: SPAN cleanups

From: Jiri Pirko <jiri@...lanox.com>

In patch one of this short series, a misplaced pointer star is moved to
the correct place.

In the second patch, we observe that if SPAN entries carry their
reference count anyway, it's redundant to also carry a "used" flag.

In the third patch, SPAN support code is moved to a separate module.

Petr Machata (3):
  mlxsw: spectrum: Fix a coding style nit
  mlxsw: spectrum: Drop struct span_entry.used
  mlxsw: spectrum: Move SPAN code to separate module

 drivers/net/ethernet/mellanox/mlxsw/Makefile       |   2 +-
 drivers/net/ethernet/mellanox/mlxsw/spectrum.c     | 322 +------------------
 drivers/net/ethernet/mellanox/mlxsw/spectrum.h     |  30 +-
 .../mellanox/mlxsw/spectrum_acl_flex_actions.c     |   1 +
 .../net/ethernet/mellanox/mlxsw/spectrum_span.c    | 356 +++++++++++++++++++++
 .../net/ethernet/mellanox/mlxsw/spectrum_span.h    |  73 +++++
 6 files changed, 433 insertions(+), 351 deletions(-)
 create mode 100644 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c
 create mode 100644 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.h

-- 
2.14.3

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ