linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3/hns3pf
Yonglong Liu 199d2dd416 net: hns3: make some reusable codes into a function
In hclge_dcb.c, these pair of codes:
	hclge_notify_client(hdev, HNAE3_DOWN_CLIENT);
	hclge_notify_client(hdev, HNAE3_UNINIT_CLIENT);
and
	hclge_notify_client(hdev, HNAE3_INIT_CLIENT);
	hclge_notify_client(hdev, HNAE3_UP_CLIENT);
are called many times, so make them into a function.

Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Reviewed-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-08-29 16:57:43 -07:00
..
hclge_cmd.c net: hns3: fix some reset handshake issue 2019-08-01 13:32:13 -04:00
hclge_cmd.h net: hns3: add handshake with VF for PF reset 2019-08-09 13:44:33 -07:00
hclge_dcb.c net: hns3: make some reusable codes into a function 2019-08-29 16:57:43 -07:00
hclge_dcb.h net: hns3: Add SPDX tags to HNS3 PF driver 2018-07-21 08:44:23 -07:00
hclge_debugfs.c net: hns3: optimize some log printings 2019-08-29 16:57:43 -07:00
hclge_debugfs.h net: hns3: use macro instead of magic number 2019-08-29 16:57:43 -07:00
hclge_err.c net: hns3: change print level of RAS error log from warning to error 2019-08-18 12:59:12 -07:00
hclge_err.h net: hns3: add check to number of buffer descriptors 2019-06-26 11:59:02 -04:00
hclge_main.c net: hns3: optimize some log printings 2019-08-29 16:57:43 -07:00
hclge_main.h net: hns3: Fix -Wunused-const-variable warning 2019-08-24 16:24:05 -07:00
hclge_mbx.c net: hns3: add or modify comments 2019-08-18 12:59:12 -07:00
hclge_mdio.c net: hns3: add phy_attached_info() to the hns3 driver 2019-08-18 12:59:13 -07:00
hclge_mdio.h net: hns3: Fix NULL deref when unloading driver 2019-01-30 14:50:03 -08:00
hclge_tm.c net: hns3: modify redundant initialization of variable 2019-08-18 12:59:12 -07:00
hclge_tm.h net: hns3: change SSU's buffer allocation according to UM 2019-06-28 09:39:49 -07:00
Makefile net: hns3: fix compile error 2019-03-27 22:47:58 -07:00