commit | dec8466001f740868f01a3cb75b21174197be85e | [log] [tgz] |
---|---|---|
author | Yufeng Mo <moyufeng@huawei.com> | Fri Aug 09 10:31:15 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 09 13:44:33 2019 -0700 |
tree | 625f4595da800ef250171f2a9cc4a01973657e82 | |
parent | 42611b70f8be12c46906c869f5d819ac70dfd1c7 [diff] |
net: hns3: add function display NCL_CONFIG info This adds a new function hclge_ncl_config_data_print() to print the data of NCL_CONFIG, to make the code more readable. Also, using macro replaces some magic number. Signed-off-by: Yufeng Mo <moyufeng@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>