diff options
| author | Jiri Pirko <jiri@mellanox.com> | 2019-10-31 11:42:10 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-10-31 10:54:47 -0700 |
| commit | 26a6befa5df79dddb1a1c464b5758de9d618ee23 (patch) | |
| tree | 42e2fb04323116907ff4359dfa6d6ac66e35b737 /tools/perf/scripts/python | |
| parent | mlxsw: spectrum: Move max_width check up before count check (diff) | |
| download | linux-26a6befa5df79dddb1a1c464b5758de9d618ee23.tar.gz linux-26a6befa5df79dddb1a1c464b5758de9d618ee23.zip | |
mlxsw: spectrum: Distinguish between unsplittable and split port
Currently when user does split, he is not able to distinguish if the
port cannot be split because it is already split, or because it cannot
be split at all. Add another check for split flag to distinguish this.
Also add check forbidding split when maximal width is 1.
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
