mlxsw: spectrum_router: Push out RALUE pack into separate helper
authorJiri Pirko <jiri@nvidia.com>
Tue, 10 Nov 2020 09:48:50 +0000 (11:48 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 Nov 2020 23:55:20 +0000 (15:55 -0800)
commit0f6b66011a3ceee0df6ebe93dfe510777c67e4d2
tree1b78dbcf85739c968df6c3a858f274526ea27a12
parent2d5bd7a111ca082f72ab845a56b0376a7145dcf6
mlxsw: spectrum_router: Push out RALUE pack into separate helper

As the RALUE packing is going to be pushed into an op, in preparation
for that push the code into a separate function in the meantime.

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