commit | 973b7fdb5ff17e5f19eba9103c3fcb77a01b93df | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Thu Oct 31 11:42:21 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 31 10:54:47 2019 -0700 |
tree | d68535b875ab5835504be2867569ed7b54a6c49a | |
parent | fbbeea31026767706f0644f14c3cf13cbc2fa3c8 [diff] |
mlxsw: spectrum: Generalize split count check Make the check generic for any possible value, not only 2 and 4. 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>