[Linuxptp-devel] [PATCH v3 01/11] uds: don't output Connection refused

2014-05-02 Thread Jiri Benc
When phc2sys is started before ptp4l or it is interrupted before ptp4l has a chance to reply to its query, the uds: sendto failed: Connection refused message is output. This is not an interesting message. Also, don't output the failed to send message error from pmc_send, as all transports output

[Linuxptp-devel] [PATCH v3 05/11] Event subscribing

2014-05-02 Thread Jiri Benc
This puts groundwork for event subscription and notification. The individual events are added by subsequent patches. Signed-off-by: Jiri Benc jb...@redhat.com --- clock.c| 136 clock.h| 11 + notification.h | 27

[Linuxptp-devel] [PATCH v3 09/11] clock: event notification

2014-05-02 Thread Jiri Benc
Split management message creation to more fine-grained functions to allow notification messages to be created. Signed-off-by: Jiri Benc jb...@redhat.com --- clock.c | 58 -- clock.h |8 port.c |8 +++- port.h | 14

[Linuxptp-devel] [PATCH v3 03/11] Remove unneeded parameter in port_forward

2014-05-02 Thread Jiri Benc
This parameter was made obsolete by the common address refactoring. Signed-off-by: Jiri Benc jb...@redhat.com --- clock.c |2 +- port.c |2 +- port.h |3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/clock.c b/clock.c index c541951dcc68..a85efdec2857 100644 ---

[Linuxptp-devel] [PATCH v3 10/11] Event notification: port state

2014-05-02 Thread Jiri Benc
Notify subscribers about port state changes. Signed-off-by: Jiri Benc jb...@redhat.com --- notification.h |2 +- port.c |6 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/notification.h b/notification.h index 57e7a7856360..47c9b56c4f7e 100644 ---

[Linuxptp-devel] [PATCH v3 08/11] port: event notification

2014-05-02 Thread Jiri Benc
Split management message creation to more fine-grained functions to allow notification messages to be created. Signed-off-by: Jiri Benc jb...@redhat.com --- port.c | 93 ++-- port.h |9 ++ 2 files changed, 82 insertions(+), 20

[Linuxptp-devel] [PATCH v3 00/11] automatic phc2sys configuration, ptp4l part

2014-05-02 Thread Jiri Benc
v3: Split into two parts, this is the ptp4l part. The phc2sys part will follow after this is accepted. Reworked to use the new transport_sendto and common address interface. Removed TLV PORT_ENUMERATION_NP, each port number is queried for its existence instead. Addressed all

[Linuxptp-devel] [PATCH v3 11/11] Custom management TLV PORT_PROPERTIES_NP

2014-05-02 Thread Jiri Benc
Will be used by phc2sys to find out interfaces corresponding to ports. Signed-off-by: Jiri Benc jb...@redhat.com --- clock.c |9 + port.c | 13 + tlv.c | 14 ++ tlv.h |8 4 files changed, 44 insertions(+), 0 deletions(-) diff --git