summaryrefslogtreecommitdiff
path: root/include/linux/mlx5
diff options
context:
space:
mode:
authorYunsheng Lin <linyunsheng@huawei.com>2018-09-03 11:21:50 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-20 18:45:51 +0100
commitf995b2efa4392fc63c549c6df625d3b896c11332 (patch)
treec68b25a23640d899ea7158fb212643a4a082c326 /include/linux/mlx5
parentd01caf35564ce4de308797fddf84e4df5674fabd (diff)
net: hns3: Fix for loopback selftest failed problem
[ Upstream commit 0f29fc23b21d3cbd966537bfabba07c00466b787 ] Tqp and mac need to be enabled when doing loopback selftest, ae_algo->ops->start/stop is used to do the job, there is a time window between ae_algo->ops->start/stop and loopback setup, which will cause selftest failed problem when there is frame coming in during that time window. This patch fixes it by enabling the tqp and mac during loopback setup process. Fixes: c39c4d98dc65 ("net: hns3: Add mac loopback selftest support in hns3 driver") Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/mlx5')
0 files changed, 0 insertions, 0 deletions