Discussion:
[Linuxptp-devel] Guidance for implementing DESIGNATED_DISABLED event
Crom Well
2016-04-01 22:42:52 UTC
Permalink
Hello everyone,

I'm trying to implement proper handling of TLV_DISABLE_PORT and TLV_ENABLE_PORT in linuxptp and am seeking a little guidance.

As I understand it, the TLV_DISABLE_PORT command should trigger a DESIGNATED_DISABLED event, which basically should cause the port to ignore everything except management messages. Subsequent receipt of a TLV_ENABLE_PORT command will then trigger a DESIGNATED_ENABLED event and things should go back to normal.

I'm currently handling the necessary TLVs, but I can't see a straightforward way to implement the DESIGNATED_DISABLED and DESIGNATED_ENABLED events and get the desired behavior (ignoring all except management messages).

Is there any existing infrastructure that I might be missing which at least partially supports this? Or can anyone provide some pointers regarding the most appropriate areas in the code where I should focus?
Best regards,Carl

Loading...