net/mlx5: Move all internal timer metadata into a dedicated struct
authorEran Ben Elisha <eranbe@mellanox.com>
Fri, 12 Feb 2021 22:30:40 +0000 (14:30 -0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 16 Feb 2021 22:04:54 +0000 (14:04 -0800)
commitd6f3dc8f509ce6288e2537eb4b0614ef444fd84a
treecb72aec648de5716240879af45f05bdcb7f3d85c
parent1436de0b991548fd859a00c889b8c4dcbbb5f463
net/mlx5: Move all internal timer metadata into a dedicated struct

Internal timer mode (SW clock) requires some PTP clock related metadata
structs. Real time mode (HW clock) will not need these metadata structs.
This separation emphasize the different interfaces for HW clock and SW
clock.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Aya Levin <ayal@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.h
include/linux/mlx5/driver.h