Re: [PATCH V4 net 3/3] net: hns3: mark unexcuted loopback test result as UNEXECUTED
From: Simon Horman <horms@kernel.org>
Date: 2024-03-26 11:30:21
Also in:
lkml
From: Simon Horman <horms@kernel.org>
Date: 2024-03-26 11:30:21
Also in:
lkml
On Mon, Mar 25, 2024 at 08:43:11PM +0800, Jijie Shao wrote:
From: Jian Shen <shenjian15@huawei.com>
Currently, loopback test may be skipped when resetting, but the test
result will still show as 'PASS', because the driver doesn't set
ETH_TEST_FL_FAILED flag. Fix it by setting the flag and
initializating the value to UNEXECUTED.
Fixes: 4c8dab1c709c ("net: hns3: reconstruct function hns3_self_test")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Reviewed-by: Michal Kubiak <redacted>Reviewed-by: Simon Horman <horms@kernel.org>