]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Pass mapping values in port mapping structure
authorJiri Pirko <jiri@mellanox.com>
Thu, 31 Oct 2019 09:42:13 +0000 (11:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Oct 2019 17:54:47 +0000 (10:54 -0700)
commit020d09363e0e02013dd3abfda42357cec7809b6b
tree848dad88ea827f9f35ddd1443129f9e460f79d47
parente1e9c2b2af207fb946d9f21cec1cc5fc496a2ad7
mlxsw: spectrum: Pass mapping values in port mapping structure

Pass the port mapping structure down to create, module_map and other
function instead of individual values.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Shalom Toledo <shalomt@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c