]> git.baikalelectronics.ru Git - 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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Jan 2018 15:12:32 +0000 (10:12 -0500)
commit96062356ce31e53f8365546243b1f55189e24904
treebdc8df09241c5055ff7e07ccbbef07daa81d399d
parentcc214d1d4a3a0b46d0544c59dcd9a9b302ff8b77
net: hns3: change the unit of GL value macro

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>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h