mlxsw: spectrum: Generalize split count check
Make the check generic for any possible value, not only 2 and 4. Signed-off-by: NJiri Pirko <jiri@mellanox.com> Reviewed-by: NShalom Toledo <shalomt@mellanox.com> Signed-off-by: NIdo Schimmel <idosch@mellanox.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录