[PATCH V2] add management of dsa interface

2015-10-06 Thread Laurent Vaudoit
--- plugins/ethernet.c | 56 +++--- 1 file changed, 53 insertions(+), 3 deletions(-) diff --git a/plugins/ethernet.c b/plugins/ethernet.c index d176508..3d26cb0 100644 --- a/plugins/ethernet.c +++ b/plugins/ethernet.c @@ -32,6 +32,7 @@ #include

Re: [PATCH] add management of dsa interface

2015-10-06 Thread laurent vaudoit
ing at the patch, all lines end with ^M, please fix. > > On Mon, 2015-09-28 at 14:48 +0200, Laurent Vaudoit wrote: > > --- > > plugins/ethernet.c | 60 > +++--- > > 1 file changed, 57 insertions(+), 3 deletions(-) > > &g

[PATCH] add management of dsa interface

2015-09-28 Thread Laurent Vaudoit
Hi, here is a patch inspired from vlan management, for interface using dsa linux framework mailing list thread is this one https://lists.connman.net/pipermail/connman/2015-September/019788.html Regards Laurent ___ connman mailing list

[PATCH] add management of dsa interface

2015-09-28 Thread Laurent Vaudoit
--- plugins/ethernet.c | 60 +++--- 1 file changed, 57 insertions(+), 3 deletions(-) diff --git a/plugins/ethernet.c b/plugins/ethernet.c index d176508..456d3cc 100644 --- a/plugins/ethernet.c +++ b/plugins/ethernet.c @@ -32,6 +32,7 @@ #include

Re: problem after suspend/resume using connman and switch

2015-09-15 Thread laurent vaudoit
Hi, On Mon, Sep 14, 2015 at 2:20 PM, laurent vaudoit <laurent.vaud...@gmail.com> wrote: > Hi Patrik, > > On Thu, Sep 10, 2015 at 12:24 PM, Patrik Flykt < > patrik.fl...@linux.intel.com> wrote: > >> On Thu, 2015-09-10 at 11:41 +0200, laurent vaudoit wrote: >>

Re: problem after suspend/resume using connman and switch

2015-09-15 Thread laurent vaudoit
On Tue, Sep 15, 2015 at 9:10 AM, Patrik Flykt <patrik.fl...@linux.intel.com> wrote: > On Tue, 2015-09-15 at 08:25 +0200, laurent vaudoit wrote: > > After some analysis, it seems that ipv4ll is launch only on one > > service if dhcp timeout. > > So when we have m

Re: problem after suspend/resume using connman and switch

2015-09-15 Thread laurent vaudoit
On Tue, Sep 15, 2015 at 1:04 PM, Patrik Flykt <patrik.fl...@linux.intel.com> wrote: > > Hi, > > On Tue, 2015-09-15 at 09:30 +0200, laurent vaudoit wrote: > > > in order to identify the network, is there some rules to apply? > >

Re: problem after suspend/resume using connman and switch

2015-09-14 Thread laurent vaudoit
Hi Patrik, On Thu, Sep 10, 2015 at 12:24 PM, Patrik Flykt <patrik.fl...@linux.intel.com > wrote: > On Thu, 2015-09-10 at 11:41 +0200, laurent vaudoit wrote: > > > On Thu, Sep 10, 2015 at 11:35 AM, Patrik Flykt < > patrik.fl...@linux.intel.com > > &

Re: problem after suspend/resume using connman and switch

2015-09-10 Thread laurent vaudoit
Hi, On Thu, Sep 10, 2015 at 11:35 AM, Patrik Flykt <patrik.fl...@linux.intel.com > wrote: > > Hi, > > On Wed, 2015-09-09 at 16:52 +0200, laurent vaudoit wrote: > > So i've made a little modification in plugin/ethernet.c (inspired from > > the vlan manageme

Re: problem after suspend/resume using connman and switch

2015-09-09 Thread laurent vaudoit
the vlanid to the service name). I'm currently testing it, and for now it's working. Regards Laurent On Mon, Sep 7, 2015 at 3:04 PM, laurent vaudoit <laurent.vaud...@gmail.com> wrote: > Hi, > > On Mon, Sep 7, 2015 at 2:46 PM, Patrik Flykt <patrik.fl...@linux.intel.com > > w

Re: problem after suspend/resume using connman and switch

2015-09-07 Thread laurent vaudoit
Hi Patrick, thank you for your answer > Hi, > > On Thu, 2015-09-03 at 11:52 +0200, laurent vaudoit wrote: > > Hi all, > > we are working on a board integrating a switch with 2 port. > > We use DSA kernel framework. > > > > On the distribution, w

Re: problem after suspend/resume using connman and switch

2015-09-07 Thread laurent vaudoit
Hi, On Mon, Sep 7, 2015 at 2:46 PM, Patrik Flykt <patrik.fl...@linux.intel.com> wrote: > > Hi, > > On Mon, 2015-09-07 at 10:34 +0200, laurent vaudoit wrote: > > > I've made some more debug, and now, i'm able to have lan1/lan2 up after > > susp

problem after suspend/resume using connman and switch

2015-09-03 Thread laurent vaudoit
Hi all, we are working on a board integrating a switch with 2 port. We use DSA kernel framework. On the distribution, we use systemd and connman (version 1.29) kernel is a 3.10.17. when the board boot, we have 3 interfaces appearing with ifconfig, the 3 has the same MAC ADRESS eth0, lan1, lan2.