Re: [Linuxptp-devel] [RFC PATCH v2 3/9] Add DM_COMMON_P2P
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
|
From: Richard C. <ric...@gm...> - 2023-11-16 04:54:08
|
On Mon, May 15, 2023 at 06:26:06PM -0400, Kishen Maloor wrote:
> This change adds COMMON_P2P (IEEE 802.1AS-2020, clause 14.8.5) to the
> enumeration of delay mechanisms and incorporates it into existing code
> paths pertaining to DM_P2P to (where appropriate) maintain parity with
> DM_P2P.
>
> Co-authored-by: Andrew Zaborowski <and...@in...>
> Signed-off-by: Kishen Maloor <kis...@in...>
> ---
> config.c | 1 +
> dm.h | 3 +++
> port.c | 15 +++++++++------
> unicast_client.c | 10 +++++++---
> 4 files changed, 20 insertions(+), 9 deletions(-)
>
> diff --git a/config.c b/config.c
> index 3e7587ba81ab..0482554feb28 100644
> --- a/config.c
> +++ b/config.c
> @@ -173,6 +173,7 @@ static struct config_enum delay_mech_enu[] = {
> { "Auto", DM_AUTO },
> { "E2E", DM_E2E },
> { "P2P", DM_P2P },
> + { "COMMON_P2P", DM_COMMON_P2P },
Preserve alphabetical order please.
> { "NONE", DM_NO_MECHANISM },
> { NULL, 0 },
> };
|