On Fri, Oct 05, 2018 at 04:25:07PM -0700, Vedang Patel wrote:
> Add provision to disable delay requests. Designated masters who do not
> need to calculate delay can use this option. This is required by
> Automotive Profile to reduce network load.
> 
> Signed-off-by: Vedang Patel <vedang.pa...@intel.com>
> ---
>  config.c                      | 1 +
>  configs/automotive-master.cfg | 1 +
>  port.c                        | 5 +++++
>  port_private.h                | 1 +
>  ptp4l.8                       | 5 +++++
>  5 files changed, 13 insertions(+)
> 
> diff --git a/config.c b/config.c
> index 9c8f703d4bbd..bd1f53f93bc3 100644
> --- a/config.c
> +++ b/config.c
> @@ -246,6 +246,7 @@ struct config_item config_tab[] = {
>       PORT_ITEM_INT("ingressLatency", 0, INT_MIN, INT_MAX),
>       PORT_ITEM_INT("inhibit_announce", 0, 0, 1),
>       PORT_ITEM_INT("inhibit_multicast_service", 0, 0, 1),
> +     PORT_ITEM_INT("inhibit_delay_req", 0, 0, 1),

Shouldn't this be "inhibit_pdelay_req"?

gPTP aka 802.1-AS is peer delay only, and so is the automotive
profile.

Inhibiting e2e delay requests doesn't make sense, because master ports
never send them.

Thanks,
Richard


_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to