]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitafc98a0b46d8576a55f18092400cc518d03a79a1
treece480909cdd34a1907b208c1ebdd70fa121d298f
parent75b81ce719b79565eb0b39aa9954b6e11a5e73bf
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: 7c39afb394c7 ("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