[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220613132116.2021055-1-idosch@nvidia.com>
Date: Mon, 13 Jun 2022 16:21:13 +0300
From: Ido Schimmel <idosch@...dia.com>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
edumazet@...gle.com, petrm@...dia.com, mlxsw@...dia.com,
Ido Schimmel <idosch@...dia.com>
Subject: [PATCH net-next 0/3] mlxsw: Remove XM support
The XM was supposed to be an external device connected to the
Spectrum-{2,3} ASICs using dedicated Ethernet ports. Its purpose was to
increase the number of routes that can be offloaded to hardware. This was
achieved by having the ASIC act as a cache that refers cache misses to the
XM where the FIB is stored and LPM lookup is performed.
Testing was done over an emulator and dedicated setups in the lab, but
the product was discontinued before shipping to customers.
Therefore, in order to remove dead code and reduce complexity of the
code base, revert the three patchsets that added XM support.
Petr Machata (3):
mlxsw: Revert "Introduce initial XM router support"
mlxsw: Revert "Prepare for XM implementation - prefix insertion and
removal"
mlxsw: Revert "Prepare for XM implementation - LPM trees"
drivers/net/ethernet/mellanox/mlxsw/Makefile | 1 -
drivers/net/ethernet/mellanox/mlxsw/cmd.h | 30 -
drivers/net/ethernet/mellanox/mlxsw/core.c | 12 -
drivers/net/ethernet/mellanox/mlxsw/core.h | 12 +-
drivers/net/ethernet/mellanox/mlxsw/minimal.c | 3 +-
drivers/net/ethernet/mellanox/mlxsw/pci.c | 33 +-
drivers/net/ethernet/mellanox/mlxsw/reg.h | 670 +-------------
.../net/ethernet/mellanox/mlxsw/spectrum.c | 5 -
.../ethernet/mellanox/mlxsw/spectrum_router.c | 857 +++++-------------
.../ethernet/mellanox/mlxsw/spectrum_router.h | 75 --
.../mellanox/mlxsw/spectrum_router_xm.c | 812 -----------------
11 files changed, 244 insertions(+), 2266 deletions(-)
delete mode 100644 drivers/net/ethernet/mellanox/mlxsw/spectrum_router_xm.c
--
2.36.1
Powered by blists - more mailing lists