Re: [PATCH net-next] cxgb4: fix check for running offline ethtool selftest

2020-08-03 Thread David Miller
From: Rahul Lakkireddy Date: Sat, 1 Aug 2020 02:20:52 +0530 > 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 ("cxg

[PATCH net-next] cxgb4: fix check for running offline ethtool selftest

2020-07-31 Thread Rahul Lakkireddy
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 ---