netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net-next 00/10] mlxsw: Various cleanups
@ 2018-04-01 14:34 Ido Schimmel
  2018-04-01 14:34 ` [PATCH v2 net-next 01/10] mlxsw: spectrum_acl: Fix flex actions header ifndef define construct Ido Schimmel
                   ` (10 more replies)
  0 siblings, 11 replies; 17+ messages in thread
From: Ido Schimmel @ 2018-04-01 14:34 UTC (permalink / raw)
  To: netdev; +Cc: davem, jiri, petrm, dsahern, mlxsw, Ido Schimmel

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2018-04-08  6:47 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-01 14:34 [PATCH v2 net-next 00/10] mlxsw: Various cleanups Ido Schimmel
2018-04-01 14:34 ` [PATCH v2 net-next 01/10] mlxsw: spectrum_acl: Fix flex actions header ifndef define construct Ido Schimmel
2018-04-05  1:33   ` Sasha Levin
2018-04-08  6:46     ` Ido Schimmel
2018-04-01 14:34 ` [PATCH v2 net-next 02/10] mlxsw: spectrum_kvdl: Fix handling of resource_size_param Ido Schimmel
2018-04-01 14:34 ` [PATCH v2 net-next 03/10] mlxsw: Constify devlink_resource_ops Ido Schimmel
2018-04-01 14:34 ` [PATCH v2 net-next 04/10] mlxsw: spectrum: Change KVD linear parts from list to array Ido Schimmel
2018-04-01 14:34 ` [PATCH v2 net-next 05/10] mlxsw: remove kvd_hash_granularity from config profile struct Ido Schimmel
2018-04-01 14:34 ` [PATCH v2 net-next 06/10] mlxsw: core: Fix arg name of MLXSW_CORE_RES_VALID and MLXSW_CORE_RES_GET Ido Schimmel
2018-04-05  1:33   ` Sasha Levin
2018-04-08  6:47     ` Ido Schimmel
2018-04-01 14:34 ` [PATCH v2 net-next 07/10] mlxsw: Move "used_kvd_sizes" check to mlxsw_pci_config_profile Ido Schimmel
2018-04-01 14:34 ` [PATCH v2 net-next 08/10] mlxsw: Move "resources_query_enable" out of mlxsw_config_profile Ido Schimmel
2018-04-01 14:34 ` [PATCH v2 net-next 09/10] mlxsw: spectrum: Pass mlxsw_core as arg of mlxsw_sp_kvdl_resources_register() Ido Schimmel
2018-04-01 14:34 ` [PATCH v2 net-next 10/10] mlxsw: spectrum: Don't use resource ID of 0 Ido Schimmel
2018-04-01 15:26   ` David Ahern
2018-04-01 15:24 ` [PATCH v2 net-next 00/10] mlxsw: Various cleanups David Miller

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).