linux-stable/drivers/net/ethernet/hisilicon/hns3
Yunsheng Lin 3f8601f0f5 net: hns3: Fix ping exited problem when doing lp selftest
When ping is runnig and user executes the loopback selftest, the
ping cmd will stop and exit.

This patch fixes it by using the hns3_nic_net_open/stop to offline
the netdev when doing loopback selftest.

Fixes: c39c4d98dc ("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>
2018-09-03 22:04:45 -07:00
..
hns3pf net: hns3: Fix for loopback selftest failed problem 2018-09-03 22:04:45 -07:00
hns3vf net: hns3: Fix MSIX allocation issue for VF 2018-08-03 09:53:24 -07:00
hclge_mbx.h net: hns3: Optimize the VF's process of updating multicast MAC 2018-06-01 14:23:58 -04:00
hnae3.c net: hns3: Add SPDX tags to HNS3 PF driver 2018-07-21 08:44:23 -07:00
hnae3.h net: hns3: Add SPDX tags to HNS3 PF driver 2018-07-21 08:44:23 -07:00
hns3_dcbnl.c net: hns3: Add SPDX tags to HNS3 PF driver 2018-07-21 08:44:23 -07:00
hns3_enet.c net: hns3: Implement shutdown ops in hns3 pci driver 2018-09-03 22:04:45 -07:00
hns3_enet.h net: hns3: fix page_offset overflow when CONFIG_ARM64_64K_PAGES 2018-08-22 21:55:01 -07:00
hns3_ethtool.c net: hns3: Fix ping exited problem when doing lp selftest 2018-09-03 22:04:45 -07:00
Makefile net: hns3: Unified HNS3 {VF|PF} Ethernet Driver for hip08 SoC 2017-12-15 10:55:34 -05:00