]> asedeno.scripts.mit.edu Git - linux.git/commit
net: hns3: add function display NCL_CONFIG info
authorYufeng Mo <moyufeng@huawei.com>
Fri, 9 Aug 2019 02:31:15 +0000 (10:31 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Aug 2019 20:44:33 +0000 (13:44 -0700)
commitdec8466001f740868f01a3cb75b21174197be85e
tree625f4595da800ef250171f2a9cc4a01973657e82
parent42611b70f8be12c46906c869f5d819ac70dfd1c7
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>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c