linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3
Jian Shen b7b585c286 net: hns3: add initialization for nic state
This patch adds initialization for nic state, sets flag
HNS3_NIC_STATE_DOWN when initialize, clears it before
vectors and napi being enabled in the hns3_nic_net_up(),
and sets it back in the error handler.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-01-26 09:33:31 -08:00
..
hns3pf net: hns3: call hns3_nic_set_real_num_queue with netdev down 2019-01-26 09:33:31 -08:00
hns3vf net: hns3: fix bug of ethtool_ops.get_channels for VF 2019-01-23 11:13:01 -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: remove dcb_ops->map_update in hclge_dcb 2019-01-26 09:33:31 -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: add initialization for nic state 2019-01-26 09:33:31 -08:00
hns3_enet.h net: hns3: add rx multicast packets statistic 2019-01-23 11:13:01 -08:00
hns3_ethtool.c net: hns3: fix return value handle issue for hclge_set_loopback() 2019-01-26 09:33:30 -08:00
Makefile net: hns3: Add debugfs framework registration 2018-11-23 17:28:59 -08:00