]> 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)
commit993b56398bdc87f6477a09580c9af1dd663c6d10
tree3f26c7b24c03033298669eec597ec4057481c138
parent9dfe17fb5fc6c070ae5fe5409bc91dcc3fafc5c9
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