Re: [Linuxptp-devel] [PATCH 1/3] pmc: long opts / cfg file

2018-03-19 Thread Keller, Jacob E
> -Original Message- > From: Peter Schneider [mailto:pe...@psch.de] > Sent: Sunday, March 18, 2018 10:43 AM > To: Richard Cochran <richardcoch...@gmail.com> > Cc: linuxptp-devel@lists.sourceforge.net > Subject: Re: [Linuxptp-devel] [PATCH 1/3] pmc: long opts / cfg

Re: [Linuxptp-devel] [PATCH 1/3] pmc: long opts / cfg file

2018-03-16 Thread Richard Cochran
On Fri, Mar 16, 2018 at 07:31:04PM +0100, Peter Schneider wrote: > diff --git a/pmc_common.c b/pmc_common.c > index 91fffb3..850544c 100644 > --- a/pmc_common.c > +++ b/pmc_common.c > @@ -93,6 +93,10 @@ struct pmc *pmc_create(struct config *cfg, enum > transport_type transport_type, > } >

[Linuxptp-devel] [PATCH 1/3] pmc: long opts / cfg file

2018-03-16 Thread Peter Schneider
pmc_common: Preset uninitialized 'iface.ts_label' with 'iface.name' pmc_create() calls transport_create(), which sets the open function for the interface 'iface' to raw_open(), if Layer 2 is used. The immediate following call of transport_open() calls raw_open(), which uses the field .ts_label