]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_router: Introduce low-level ops and implement them for RALXX regs
authorJiri Pirko <jiri@nvidia.com>
Sun, 1 Nov 2020 13:42:15 +0000 (15:42 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 4 Nov 2020 01:27:15 +0000 (17:27 -0800)
commitfbcb6f619dac0aa6b44ce76687b5645b4c8c5f34
tree53a8f18d42830c8dc0d5a382f3324426a871fc46
parentec806d49f1c3a5437ce3761eda6dca3c71234caf
mlxsw: spectrum_router: Introduce low-level ops and implement them for RALXX regs

In preparation for support of XM router implementation which uses
different registers to work with trees and FIB entries, introduce
a structure to hold low-level ops and implement tree manipulation
register ops.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.h