[PATCH v10] examples/ptp: replace terms master and slave

Stephen Hemminger stephen at networkplumber.org
Tue Oct 22 18:39:53 CEST 2024


On Fri, 14 Jun 2024 08:41:07 -0700
Stephen Hemminger <stephen at networkplumber.org> wrote:

> Remove one of the few remaining uses of master/slave.
> 
> The IEEE 1588 standard has been updated to remove the use
> of master-slave terminology. Change the sample to Use the terms
> recommended by IEEE 1588g-2022 amendment.
> 
>   In place of the term “master”, use the term “timeTransmitter”.
>   In place of the term “slave”, use the term “timeReceiver”.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> Reviewed-by: Somnath Kotur <somnath.kotur at broadcom.com>
> 
> ---
> v10 - rebase to current version
> 
>  doc/guides/nics/bnxt.rst                   |  8 ++--
>  doc/guides/sample_app_ug/img/ptpclient.svg |  4 +-
>  doc/guides/sample_app_ug/intro.rst         |  4 +-
>  doc/guides/sample_app_ug/ptpclient.rst     | 29 ++++++------
>  examples/ptpclient/ptpclient.c             | 54 +++++++++++-----------
>  5 files changed, 51 insertions(+), 48 deletions(-)

This patch seems to have been lost/ignored. Could it be merged for 24.11.

Note: checkpatch complaints here are incorrect. The patch is removing
terms master and slave, but checkpatch can't tell the difference.


More information about the dev mailing list