From: Richard C. <ric...@gm...> - 2018-04-25 05:03:21
|
This series adds support for the alternate BMCA and custom attributes needed to support the various telecom profiles. Changes in V3: ~~~~~~~~~~~~~~ - Refactor the duplication of the data set comparison function. - Drop the G.8275. prefix from the "masterOnly" option. - Document the "dataset_comparison" in the man page. Changes in V2: ~~~~~~~~~~~~~~ - Address review comments regarding configuration variable naming - change "notSlave" attribute to "masterOnly" (the published profiles couldn't be bothered to keep the same name from one edition to the next) - Drop first four patches (as these are already merged) Richard Cochran (7): Refactor the data set comparison function variable. telecom: Introduce the local priority attribute into the data set. telecom: Add the data set comparison algorithm from the Telecom Profiles. telecom: Add a configuration option for G.8275.defaultDS.localPriority. telecom: Add a configuration option for G.8275.portDS.localPriority. telecom: Add a configuration option to use the alternate BMCA. telecom: Introduce the masterOnly option. bmc.h | 17 ++++++++++++++ clock.c | 13 ++++++++++- clock.h | 7 ++++++ config.c | 12 ++++++++++ default.cfg | 4 ++++ ds.h | 1 + gPTP.cfg | 4 ++++ makefile | 2 +- port.c | 11 +++++++-- port_private.h | 3 ++- ptp4l.8 | 41 +++++++++++++++++++++++++++++++++ telecom.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 12 files changed, 183 insertions(+), 5 deletions(-) create mode 100644 telecom.c -- 2.11.0 |