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)
commitb81c59e1f70914b6958fd342608dbc5aa6b487e4
treebdc8df09241c5055ff7e07ccbbef07daa81d399d
parent0c8b769b7c7790d5cd0bbb2986cf438fb3f6a0df
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