diff options
author | 2019-10-31 11:42:21 +0200 | |
---|---|---|
committer | 2019-10-31 10:54:47 -0700 | |
commit | 973b7fdb5ff17e5f19eba9103c3fcb77a01b93df (patch) | |
tree | d68535b875ab5835504be2867569ed7b54a6c49a /include/net/dsa.h | |
parent | mlxsw: spectrum: Iterate over all ports in gap during unsplit create (diff) | |
download | wireguard-linux-973b7fdb5ff17e5f19eba9103c3fcb77a01b93df.tar.xz wireguard-linux-973b7fdb5ff17e5f19eba9103c3fcb77a01b93df.zip |
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>
Diffstat (limited to 'include/net/dsa.h')
0 files changed, 0 insertions, 0 deletions