]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net/mlx5e: Fix wrong delay calculation for overflow check scheduling
authorEugenia Emantayev <eugenia@mellanox.com>
Wed, 12 Jul 2017 14:27:18 +0000 (17:27 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 27 Jul 2017 13:40:17 +0000 (16:40 +0300)
commitd439c84509a510e864fdc6166c760482cd03fc57
tree4d5db5dbd9a571398124467232789ba96ca8436e
parentcf5033089b078303b102b65e3ccbbfa3ce0f4367
net/mlx5e: Fix wrong delay calculation for overflow check scheduling

The overflow_period is calculated in seconds. In order to use it
for delayed work scheduling translation to jiffies is needed.

Fixes: ef9814deafd0 ('net/mlx5e: Add HW timestamping (TS) support')
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_clock.c