]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita43edd149f50734ea200917907b1df64476cd70b
tree80ab04d87b079a8042262e2119fc38e07a2575d1
parent149d580e0f9209ba2f491af67bdaaec5bb6a6f10
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