summaryrefslogtreecommitdiffstats
path: root/lib/bch.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2019-10-31 11:42:12 +0200
committerDavid S. Miller <davem@davemloft.net>2019-10-31 10:54:47 -0700
commit7b39fa5befbb531a91bbd91ecac516251063afe3 (patch)
tree98020ac7b830c962f136a3235799163597f3de9d /lib/bch.c
parent4a7f970f1240523b1bbabac88811e429de4697cb (diff)
downloadlinux-7b39fa5befbb531a91bbd91ecac516251063afe3.tar.bz2
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>
Diffstat (limited to 'lib/bch.c')
0 files changed, 0 insertions, 0 deletions