]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Export RALUE pack helper and use it from IPIP
authorJiri Pirko <jiri@nvidia.com>
Tue, 10 Nov 2020 09:48:51 +0000 (11:48 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 Nov 2020 23:55:20 +0000 (15:55 -0800)
commitd5be05ed8e7976e52639db497e0b188b8c94aea4
tree3f26c7b24c03033298669eec597ec4057481c138
parent018ea6dcfa5241b56a8edd9302bfe41b140f10f9
mlxsw: spectrum: Export RALUE pack helper and use it from IPIP

As the RALUE packing is going to be put into op, make the user from
IPIP code use the same helper as the router code does.

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_ipip.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.h