linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3
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
..
hns3pf net: hns3: make some reusable codes into a function 2019-08-29 16:57:43 -07:00
hns3vf net: hns3: modify redundant initialization of variable 2019-08-18 12:59:12 -07:00
hclge_mbx.h net: hns3: add handler for NCSI error mailbox 2019-08-01 13:32:12 -04:00
hnae3.c net: hns3: fix error and incorrect format 2019-08-18 12:59:12 -07:00
hnae3.h net: hns3: add or modify comments 2019-08-18 12:59:12 -07:00
hns3_dcbnl.c net: hns3: fix some coding style issues 2019-06-09 13:20:59 -07:00
hns3_debugfs.c net: hns3: optimize some log printings 2019-08-29 16:57:43 -07:00
hns3_enet.c net: hns3: add or modify comments 2019-08-18 12:59:12 -07:00
hns3_enet.h net: hns3: add or modify comments 2019-08-18 12:59:12 -07:00
hns3_ethtool.c net: hns3: fix error and incorrect format 2019-08-18 12:59:12 -07:00
Makefile net: hns3: Add debugfs framework registration 2018-11-23 17:28:59 -08:00