diff options
| author | Jiri Pirko <jiri@mellanox.com> | 2016-10-28 21:35:47 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-10-30 16:50:17 -0400 |
| commit | abc1de256c1987fe42eff80d95946ee9452bcac7 (patch) | |
| tree | cd43766138b73ac03fa12bacdead53a44363d094 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 5b0907407e7f28249ddb44ca0e629dda3d300169 (diff) | |
| download | linux-abc1de256c1987fe42eff80d95946ee9452bcac7.tar.gz linux-abc1de256c1987fe42eff80d95946ee9452bcac7.zip | |
mlxsw: switchx2: Check if port is usable before calling port create
Do it in a same way we do it in spectrum. Check if port is usable first
and only in that case create a port instance.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Elad Raz <eladr@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
