[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230829114752.2695430-1-reibax@gmail.com>
Date: Tue, 29 Aug 2023 13:47:51 +0200
From: Xabier Marquiegui <reibax@...il.com>
To: richardcochran@...il.com
Cc: chrony-dev@...ony.tuxfamily.org,
mlichvar@...hat.com,
netdev@...r.kernel.org,
ntp-lists@...tcorallo.com,
reibax@...il.com
Subject: [chrony-dev] Support for Multiple PPS Inputs on single PHC
I am interested in moving forward this conversation. I have found myself
in a situation where I need to use multiple external timestamp channels
with different clients. In my specific application, I use channel 0 with
ts2phc to synchronize a PPS clock reference, and I want to use channel 1
to timestamp external events. Since ts2phc is consuming from the fifo,
if I add another consumer everything starts to go wrong.
I would like to share my idea on how to solve this. Like Richard
mentions, I just create a separate work queue per channel, and add a
sysfs interface to dynamically be able to move queues from the
shared/multiplexed queue to individual queues.
This is the first time I try to contribute something using this mailing
list, so please forgive me if I'm doing something wrong.
Let me know what you thing about my code (the patch should be on the
next message). Thanks.
Xabier.
Powered by blists - more mailing lists