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
| ||
|
Message-Id: <20170516173835.2978-1-jiri@resnulli.us> Date: Tue, 16 May 2017 19:38:23 +0200 From: Jiri Pirko <jiri@...nulli.us> To: netdev@...r.kernel.org Cc: davem@...emloft.net, idosch@...lanox.com, mlxsw@...lanox.com Subject: [patch net-next 00/12] mlxsw: Preparations for restructuring From: Jiri Pirko <jiri@...lanox.com> This patchset doesn't introduce any functional changes and merely meant to make the code base more receptive for upcoming restructuring. The first six patches mainly shuffle code in order to reduce the scope of structs that shouldn't be defined in the main driver header. Most of them will be later expanded, so it makes sense to correctly place them now. The last patches mostly simplify bridge-related functions, so that they could be more easily modified later on. Ido Schimmel (12): mlxsw: spectrum_buffer: Reduce scope of shared buffer struct mlxsw: spectrum_router: Reduce scope of router struct mlxsw: spectrum_switchdev: Reduce scope of bridge struct mlxsw: spectrum_router: Move RIFs array to its rightful place mlxsw: spectrum_router: Move FIB notification block to router struct mlxsw: spectrum_router: Initialize RIFs in a separate function mlxsw: spectrum_switchdev: Remove redundant check mlxsw: spectrum_switchdev: Don't batch VLAN operations mlxsw: spectrum_switchdev: Don't batch STP operations mlxsw: spectrum_switchdev: Don't batch learning operations mlxsw: spectrum: Move PVID code to appropriate place mlxsw: spectrum: Default ports to non-virtual mode drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 118 +++++- drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 131 +------ .../net/ethernet/mellanox/mlxsw/spectrum_buffers.c | 73 +++- .../net/ethernet/mellanox/mlxsw/spectrum_dpipe.c | 17 +- .../net/ethernet/mellanox/mlxsw/spectrum_router.c | 289 +++++++++----- .../net/ethernet/mellanox/mlxsw/spectrum_router.h | 2 + .../ethernet/mellanox/mlxsw/spectrum_switchdev.c | 415 ++++++++------------- 7 files changed, 529 insertions(+), 516 deletions(-) -- 2.9.3
Powered by blists - more mailing lists