diff options
author | 2020-08-01 02:20:52 +0530 | |
---|---|---|
committer | 2020-08-03 15:32:52 -0700 | |
commit | fd4ec07631b13438c148af973ecd461cf440ee2e (patch) | |
tree | 4e3675e3089731dcbdb855067b7b995de7e7d58e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'ionic-txrx-updates' (diff) | |
download | linux-dev-fd4ec07631b13438c148af973ecd461cf440ee2e.tar.xz linux-dev-fd4ec07631b13438c148af973ecd461cf440ee2e.zip |
cxgb4: fix check for running offline ethtool selftest
The flag indicating the selftest to run is a bitmask. So, fix the
check. Also, the selftests will fail if adapter initialization has
not been completed yet. So, add appropriate check and bail sooner.
Fixes: 7235ffae3d2c ("cxgb4: add loopback ethtool self-test")
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions