net: hns3: add support for 1us unit GL configuration
authorHuazhong Tan <tanhuazhong@huawei.com>
Mon, 16 Nov 2020 08:20:53 +0000 (16:20 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 17 Nov 2020 19:39:20 +0000 (11:39 -0800)
commit5ac84b02d372ff45bce48c78beedbffe7c9158c0
tree80ab04d87b079a8042262e2119fc38e07a2575d1
parentab16b49cdf986172373afc16b4039f058aa3b22d
net: hns3: add support for 1us unit GL configuration

For device whose version is above V3(include V3), the GL
configuration can set as 1us unit, so adds support for
configuring this field.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c