net: hns3: add support for querying maximum value of GL
authorHuazhong Tan <tanhuazhong@huawei.com>
Mon, 16 Nov 2020 08:20:52 +0000 (16:20 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 17 Nov 2020 19:39:20 +0000 (11:39 -0800)
commitab16b49cdf986172373afc16b4039f058aa3b22d
treeade65a35a1e498ccad5c0bc088d5376bae9447b9
parent91bfae25eedd981b384339c7b12bef9eeaba0f34
net: hns3: add support for querying maximum value of GL

For maintainability and compatibility, add support for querying
the maximum value of GL.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c