[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180401143459.30770-1-idosch@mellanox.com>
Date: Sun, 1 Apr 2018 17:34:49 +0300
From: Ido Schimmel <idosch@...lanox.com>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, jiri@...lanox.com, petrm@...lanox.com,
dsahern@...il.com, mlxsw@...lanox.com,
Ido Schimmel <idosch@...lanox.com>
Subject: [PATCH v2 net-next 00/10] mlxsw: Various cleanups
Hi,
The first nine patches from Jiri perform small and unrelated cleanups.
The largest being the conversion of the KVD linear partitions from a
list to an array, which simplifies the code.
The last patch from Petr is a bug fix for a recent net-next commit that
prevented the "kvd" resource from being marked as the parent of its
various child resources (e.g., "/kvd/linear").
v2: Dropped devlink patch following David's comment. Will be sent
separately.
Jiri Pirko (9):
mlxsw: spectrum_acl: Fix flex actions header ifndef define construct
mlxsw: spectrum_kvdl: Fix handling of resource_size_param
mlxsw: Constify devlink_resource_ops
mlxsw: spectrum: Change KVD linear parts from list to array
mlxsw: remove kvd_hash_granularity from config profile struct
mlxsw: core: Fix arg name of MLXSW_CORE_RES_VALID and
MLXSW_CORE_RES_GET
mlxsw: Move "used_kvd_sizes" check to mlxsw_pci_config_profile
mlxsw: Move "resources_query_enable" out of mlxsw_config_profile
mlxsw: spectrum: Pass mlxsw_core as arg of
mlxsw_sp_kvdl_resources_register()
Petr Machata (1):
mlxsw: spectrum: Don't use resource ID of 0
drivers/net/ethernet/mellanox/mlxsw/core.c | 5 +-
drivers/net/ethernet/mellanox/mlxsw/core.h | 14 +-
drivers/net/ethernet/mellanox/mlxsw/pci.c | 11 +-
drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 16 +-
drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 4 +-
.../mellanox/mlxsw/spectrum_acl_flex_actions.h | 4 +-
.../net/ethernet/mellanox/mlxsw/spectrum_kvdl.c | 284 ++++++++-------------
drivers/net/ethernet/mellanox/mlxsw/switchib.c | 1 -
drivers/net/ethernet/mellanox/mlxsw/switchx2.c | 1 -
9 files changed, 131 insertions(+), 209 deletions(-)
--
2.14.3
Powered by blists - more mailing lists