]> 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)
commit1b1b1e589732e34f8c48e86542d55e03b63c786d
tree80ab04d87b079a8042262e2119fc38e07a2575d1
parent73ef544bfc415415149666e7d0935be0f9ed4c97
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