Re: [PATCH 0/3] Add NETIF_F_HW_BRIDGE feature

2019-08-25 Thread Horatiu Vultur
The 08/24/2019 09:42, Jiri Pirko wrote: > External E-Mail > > > Sat, Aug 24, 2019 at 01:25:02AM CEST, f.faine...@gmail.com wrote: > >On 8/22/19 12:07 PM, Horatiu Vultur wrote: > >> Current implementation of the SW bridge is setting the interfaces in > >> promisc mode when they are added to

Re: [Bridge] [PATCH 0/3] Add NETIF_F_HW_BRIDGE feature

2019-08-24 Thread Stephen Hemminger
On Thu, 22 Aug 2019 21:07:27 +0200 Horatiu Vultur wrote: > Current implementation of the SW bridge is setting the interfaces in > promisc mode when they are added to bridge if learning of the frames is > enabled. > In case of Ocelot which has HW capabilities to switch frames, it is not > needed

Re: [PATCH 0/3] Add NETIF_F_HW_BRIDGE feature

2019-08-23 Thread Florian Fainelli
On 8/22/19 12:07 PM, Horatiu Vultur wrote: > Current implementation of the SW bridge is setting the interfaces in > promisc mode when they are added to bridge if learning of the frames is > enabled. > In case of Ocelot which has HW capabilities to switch frames, it is not > needed to set the ports

Re: [Bridge] [PATCH 0/3] Add NETIF_F_HW_BRIDGE feature

2019-08-23 Thread Andrew Lunn
> > > Why do the devices have to be from the same driver ? > After seeing yours and Andrews comments I realize that I try to do two > things, but I have only explained one of them. > > Here is what I was trying to do: > A. Prevent ports from going into promisc mode, if it is not needed. The

Re: [Bridge] [PATCH 0/3] Add NETIF_F_HW_BRIDGE feature

2019-08-23 Thread Horatiu Vultur
The 08/23/2019 01:26, Nikolay Aleksandrov wrote: > External E-Mail > > > On 8/23/19 1:09 AM, Nikolay Aleksandrov wrote: > > On 22/08/2019 22:07, Horatiu Vultur wrote: > >> Current implementation of the SW bridge is setting the interfaces in > >> promisc mode when they are added to bridge if

Re: [PATCH 0/3] Add NETIF_F_HW_BRIDGE feature

2019-08-22 Thread David Miller
From: Horatiu Vultur Date: Thu, 22 Aug 2019 21:07:27 +0200 > Current implementation of the SW bridge is setting the interfaces in > promisc mode when they are added to bridge if learning of the frames is > enabled. > In case of Ocelot which has HW capabilities to switch frames, it is not >

Re: [PATCH 0/3] Add NETIF_F_HW_BRIDGE feature

2019-08-22 Thread Nikolay Aleksandrov
On 8/23/19 1:09 AM, Nikolay Aleksandrov wrote: > On 22/08/2019 22:07, Horatiu Vultur wrote: >> Current implementation of the SW bridge is setting the interfaces in >> promisc mode when they are added to bridge if learning of the frames is >> enabled. >> In case of Ocelot which has HW capabilities