]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: hns3: change the unit of GL value macro
authorFuyun Liang <liangfuyun1@huawei.com>
Fri, 12 Jan 2018 08:23:14 +0000 (16:23 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 16 Mar 2018 15:47:43 +0000 (10:47 -0500)
commitfcff38e229f067e9ed79676122e26f003e2e099c
tree13fcaf199c5d59ddec38c306aca2a767e7bc856b
parentd48df3a5f43d2ac7cded1499cf8e16cc1f1c97ce
net: hns3: change the unit of GL value macro

BugLink: http://bugs.launchpad.net/bugs/1756097
Previously, driver used 2us as the GL unit. The time unit ethtool
command "-c" and "-C" use is 1us, so now the GL unit driver uses
actually is 1us.

This patch changes the unit of GL value macro from
2us to 1us.

Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit b81c59e1f70914b6958fd342608dbc5aa6b487e4)
Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h