]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitd271cf9f298bedc4114ea4009d9488a3e58f6f82
tree3f26c7b24c03033298669eec597ec4057481c138
parent0f6b66011a3ceee0df6ebe93dfe510777c67e4d2
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