Re: [Linuxptp-devel] [PATCH 2/6] config: Added network_namespace as config parameter

2018-11-12 Thread Richard Cochran
On Mon, Nov 12, 2018 at 06:42:37AM -0800, Richard Cochran wrote: > On Mon, Nov 12, 2018 at 07:14:31AM +, Anders Selhammer wrote: > > I use more than one network namespace for the stack yes. Ports in different > > namespace. > > This series really needs a cover letter that describes the use

Re: [Linuxptp-devel] [PATCH 2/6] config: Added network_namespace as config parameter

2018-11-12 Thread Richard Cochran
On Mon, Nov 12, 2018 at 07:14:31AM +, Anders Selhammer wrote: > I use more than one network namespace for the stack yes. Ports in different > namespace. This series really needs a cover letter that describes the use case(s) in some detail. As it stands, we are all wondering, "why would

Re: [Linuxptp-devel] [PATCH 2/6] config: Added network_namespace as config parameter

2018-11-11 Thread Anders Selhammer
Friday, 9 November, 2018 7:16 PM >> Do you means that you wish the ptp4l to use more then one network namespace? > It sounds like he has clocks within multiple network namespaces. I use more than one network namespace for the stack yes. Ports in different namespace. /Anders

Re: [Linuxptp-devel] [PATCH 2/6] config: Added network_namespace as config parameter

2018-11-09 Thread Keller, Jacob E
> -Original Message- > From: Geva, Erez [mailto:erez.geva@siemens.com] > Sent: Friday, November 09, 2018 5:50 AM > To: Anders Selhammer > Cc: linuxptp-devel@lists.sourceforge.net > Subject: Re: [Linuxptp-devel] [PATCH 2/6] config: Added network_namespace as

Re: [Linuxptp-devel] [PATCH 2/6] config: Added network_namespace as config parameter

2018-11-09 Thread Geva, Erez
ect namespace. Or is there any other way you solve this easily? /Anders From: Anders Selhammer [anders.selham...@est.tech] Sent: 09 November 2018 10:25 To: linuxptp-devel@lists.sourceforge.net Subject: [Linuxptp-devel] [PATCH 2/6] config: Added netw

Re: [Linuxptp-devel] [PATCH 2/6] config: Added network_namespace as config parameter

2018-11-09 Thread Anders Selhammer
e.net Subject: [Linuxptp-devel] [PATCH 2/6] config: Added network_namespace as config parameter Signed-off-by: Anders Selhammer --- config.c | 1 + ptp4l.8 | 6 ++ 2 files changed, 7 insertions(+) diff --git a/config.c b/config.c index b8e7977..fef31b3 100644 --- a/config.c +++ b/config.c @@

Re: [Linuxptp-devel] [PATCH 2/6] config: Added network_namespace as config parameter

2018-11-09 Thread Geva, Erez
What about "ip netns exec"? From: Anders Selhammer [anders.selham...@est.tech] Sent: 09 November 2018 10:25 To: linuxptp-devel@lists.sourceforge.net Subject: [Linuxptp-devel] [PATCH 2/6] config: Added network_namespace as config parameter

Re: [Linuxptp-devel] [PATCH 2/6] config: Added network_namespace as config parameter

2018-11-09 Thread Erez
What about using "ip netns exec"? Erez On Fri, 9 Nov 2018 at 11:01, Anders Selhammer wrote: > Signed-off-by: Anders Selhammer > --- > config.c | 1 + > ptp4l.8 | 6 ++ > 2 files changed, 7 insertions(+) > > diff --git a/config.c b/config.c > index b8e7977..fef31b3 100644 > ---

[Linuxptp-devel] [PATCH 2/6] config: Added network_namespace as config parameter

2018-11-09 Thread Anders Selhammer
Signed-off-by: Anders Selhammer --- config.c | 1 + ptp4l.8 | 6 ++ 2 files changed, 7 insertions(+) diff --git a/config.c b/config.c index b8e7977..fef31b3 100644 --- a/config.c +++ b/config.c @@ -260,6 +260,7 @@ struct config_item config_tab[] = {