commit | 23e0316049af3343f3eb51b422cb25191fc87174 | [log] [tgz] |
---|---|---|
author | Yufeng Mo <moyufeng@huawei.com> | Fri Dec 03 17:20:49 2021 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 03 11:00:58 2021 +0000 |
tree | 1e04f71c0087f5a20be2bc3a5c273a30b0102669 | |
parent | 0109841fc4565bb3cefcdfb2991da0c47cd94b23 [diff] |
net: hns3: optimize function hclge_cfg_common_loopback() hclge_cfg_common_loopback() is a bit too long, so encapsulate hclge_cfg_common_loopback_cmd_send() and hclge_cfg_common_loopback_wait() two functions to improve readability. Signed-off-by: Yufeng Mo <moyufeng@huawei.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>