]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Update ptp_clock_event foreach PPS event
authorFeras Daoud <ferasda@mellanox.com>
Wed, 3 Jan 2018 15:23:55 +0000 (17:23 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 12 Jan 2018 00:01:50 +0000 (02:01 +0200)
commitea43b9c4902b0540ccb889032bdcf346b5866bac
treece480909cdd34a1907b208c1ebdd70fa121d298f
parent4606bb368fb53556bcfe4b3eb9a5a0127c5776ca
net/mlx5: Update ptp_clock_event foreach PPS event

PPS event did not update ptp_clock_event fields, therefore,
timestamp value was not updated correctly. This fix updates the
event source and the timestamp value for each PPS event.

Fixes: af40d3544ef4 ("net/mlx5: PTP code migration to driver core section")
Signed-off-by: Feras Daoud <ferasda@mellanox.com>
Reported-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c