linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3
Huazhong Tan e888402789 net: hns3: call hns3_nic_net_open() while doing HNAE3_UP_CLIENT
For HNAE3_DOWN_CLIENT calling hns3_nic_net_stop(), HNAE3_UP_CLIENT
should call hns3_nic_net_open(), since if the number of queue or
the map of TC has is changed before HHAE3_UP_CLIENT is called,
it will cause problem.

Also the HNS3_NIC_STATE_RESETTING flag needs to be cleared before
hns3_nic_net_open() called, and set it back while hns3_nic_net_open()
failed.

Fixes: bb6b94a896 ("net: hns3: Add reset interface implementation in client")
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-01-01 12:13:44 -08:00
..
hns3pf net: hns3: don't restore rules when flow director is disabled 2018-12-19 23:47:59 -08:00
hns3vf net: hns3: remove redundant variable initialization 2018-12-19 23:47:59 -08:00
hclge_mbx.h net: hns3: Add "queue map" information query function 2018-12-15 10:54:18 -08:00
hnae3.c net: hns3: Fix client initialize state issue when roce client initialize failed 2018-09-19 21:20:22 -07:00
hnae3.h net: hns3: refine the handle for hns3_nic_net_open/stop() 2018-12-19 23:47:58 -08:00
hns3_dcbnl.c net: hns3: use HNS3_NIC_STATE_RESETTING to indicate resetting 2018-11-07 11:42:17 -08:00
hns3_debugfs.c net: hns3: Add "tm map" status information query function 2018-12-15 10:54:18 -08:00
hns3_enet.c net: hns3: call hns3_nic_net_open() while doing HNAE3_UP_CLIENT 2019-01-01 12:13:44 -08:00
hns3_enet.h net: hns3: update coalesce param per second 2018-12-18 12:01:01 -08:00
hns3_ethtool.c net: core: dev: Add extack argument to dev_open() 2018-12-06 13:26:06 -08:00
Makefile net: hns3: Add debugfs framework registration 2018-11-23 17:28:59 -08:00