commit | 7b39fa5befbb531a91bbd91ecac516251063afe3 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Thu Oct 31 11:42:12 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 31 10:54:47 2019 -0700 |
tree | 98020ac7b830c962f136a3235799163597f3de9d | |
parent | 4a7f970f1240523b1bbabac88811e429de4697cb [diff] |
mlxsw: spectrum: Use mapping of port being split for creating split ports Don't use constant max width value and instead of that, use the actual width of the port. Also don't pass module value and use the value stored in the same structure. 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>