On Fri, Sep 03, 2021 at 05:14:36PM +0200, Maciej Machnikowski wrote:
Implement SyncE DPLL monitoring for E810-T devices. Poll loop will periodically check the state of the DPLL and cache it in the pf structure. State changes will be logged in the system log.
Cached state can be read using the RTM_GETEECSTATE rtnetlink message.
This seems sub-optimal. My understanding is that this information is of importance to the user space process that takes care of the ESMC protocol. It would probably want to receive a notification when the state of the DPLL/EEC changes as opposed to polling the kernel or poking into its log.
So I think that whatever netlink-based interface we agree on to represent the EEC (devlink or something else), should have the ability to send a notification when the state changes.