]> 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)
commit5d8ea9301b212ecf2ce64cf73600720ef8f0a003
treebdc8df09241c5055ff7e07ccbbef07daa81d399d
parent97911a466b16bcb584f4a3b97cf005863fea1259
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