From: Jiri Pirko <j...@mellanox.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