Re: [PATCH V4 net 3/3] net: hns3: mark unexcuted loopback test result as UNEXECUTED

From: Simon Horman
Date: Tue Mar 26 2024 - 07:30:33 EST


On Mon, Mar 25, 2024 at 08:43:11PM +0800, Jijie Shao wrote:
> From: Jian Shen <shenjian15@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Signed-off-by: Jijie Shao <shaojijie@xxxxxxxxxx>
> Reviewed-by: Michal Kubiak <michal.kubiak@xxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>