mbox series

[net-next,0/2] mlxsw: spectrum: Prepare for XM implementation - LPM trees

Message ID 20201101134215.713708-1-idosch@idosch.org
Headers show
Series mlxsw: spectrum: Prepare for XM implementation - LPM trees | expand

Message

Ido Schimmel Nov. 1, 2020, 1:42 p.m. UTC
From: Ido Schimmel <idosch@nvidia.com>

Jiri says:

This is a preparation patchset for follow-up support of boards with
extended mezzanine (XM), which are going to allow extended (scale-wise)
router offload.

XM requires a separate set of PRM registers to be used to configure LPM
trees. Therefore, this patchset introduces operations that allow
different implementations of tree configuration for legacy router
offload and the XM router offload.

Jiri Pirko (2):
  mlxsw: reg: Add XRALXX Registers
  mlxsw: spectrum_router: Introduce low-level ops and implement them for
    RALXX regs

 drivers/net/ethernet/mellanox/mlxsw/reg.h     |  83 ++++++++++++
 .../ethernet/mellanox/mlxsw/spectrum_router.c | 120 ++++++++++++------
 .../ethernet/mellanox/mlxsw/spectrum_router.h |  11 ++
 3 files changed, 173 insertions(+), 41 deletions(-)

Comments

Jakub Kicinski Nov. 4, 2020, 1:29 a.m. UTC | #1
On Sun,  1 Nov 2020 15:42:13 +0200 Ido Schimmel wrote:
> From: Ido Schimmel <idosch@nvidia.com>

> 

> Jiri says:

> 

> This is a preparation patchset for follow-up support of boards with

> extended mezzanine (XM), which are going to allow extended (scale-wise)

> router offload.

> 

> XM requires a separate set of PRM registers to be used to configure LPM

> trees. Therefore, this patchset introduces operations that allow

> different implementations of tree configuration for legacy router

> offload and the XM router offload.


Applied, thanks!