Re: [Linuxptp-devel] [RFC PATCH 03/15] phc2sys: break out pmc code into pmc_common.c

2020-08-05 Thread Jacob Keller
On 8/1/2020 10:46 AM, Vladimir Oltean wrote: > Move the code for sending various messages to ptp4l via pmc to a common > translation module, outside of phc2sys. This makes it available to other > programs that want to subscribe to port state change events too, such as > ts2phc. > > This creates

[Linuxptp-devel] [RFC PATCH 03/15] phc2sys: break out pmc code into pmc_common.c

2020-08-01 Thread Vladimir Oltean
Move the code for sending various messages to ptp4l via pmc to a common translation module, outside of phc2sys. This makes it available to other programs that want to subscribe to port state change events too, such as ts2phc. This creates a smaller structure within phc2sys_private, which embeds al