]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_router: Use RALUE pack helper from abort function
authorJiri Pirko <jiri@nvidia.com>
Tue, 10 Nov 2020 09:48:54 +0000 (11:48 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 Nov 2020 23:55:21 +0000 (15:55 -0800)
commit1ceeb918dcfb68ae2eaf96a16d71c3ef8ed3a365
treeb637c03ff8c5548550c331d3af0ca686c277f748
parent6208780f6935bc83db82eacddb27b6aacb70a3a3
mlxsw: spectrum_router: Use RALUE pack helper from abort function

Unify the RALUE register payload packing and use the
__mlxsw_sp_fib_entry_ralue_pack() helper from
__mlxsw_sp_router_set_abort_trap().

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