[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1474363017-2901-1-git-send-email-jiri@resnulli.us>
Date: Tue, 20 Sep 2016 11:16:48 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, nogahf@...lanox.com, idosch@...lanox.com,
eladr@...lanox.com, yotamg@...lanox.com, ogerlitz@...lanox.com
Subject: [patch net-next 0/9] mlxsw: Replace Hw related const with resource query results
From: Jiri Pirko <jiri@...lanox.com>
Nogah says:
Many of the ASIC's properties can be read from the HW with resources query.
This patchset adds new resources to the resource query and implement
using them, instead of the constants that we currently use.
Those resources are lag, kvd and router related.
Nogah Frankel (9):
mlxsw: pci: Add lag related resources to resources query
mlxsw: spectrum: lag resources- use resources data instead of consts
mlxsw: pci: Add KVD size relate resources
mlxsw: profile: Add KVD resources to profile config
mlxsw: pci: Add max virtual routers resource
mlxsw: spectrum: Implement max virtual routers resource
mlxsw: pci: Add some miscellaneous resources
mlxsw: pci: Add max router interface resource
mlxsw: spectrum: Implement max rif resource
drivers/net/ethernet/mellanox/mlxsw/core.c | 26 ++--
drivers/net/ethernet/mellanox/mlxsw/core.h | 41 +++++--
drivers/net/ethernet/mellanox/mlxsw/pci.c | 135 +++++++++++++++++----
drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 67 ++++++----
drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 21 ++--
.../net/ethernet/mellanox/mlxsw/spectrum_router.c | 74 +++++++++--
.../ethernet/mellanox/mlxsw/spectrum_switchdev.c | 4 +-
drivers/net/ethernet/mellanox/mlxsw/switchx2.c | 4 -
8 files changed, 276 insertions(+), 96 deletions(-)
--
2.5.5
Powered by blists - more mailing lists