netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bridge extensions to iproute2
@ 2012-07-10 21:38 Maciej Żenczykowski
  2012-07-10 21:58 ` Stephen Hemminger
  0 siblings, 1 reply; 8+ messages in thread
From: Maciej Żenczykowski @ 2012-07-10 21:38 UTC (permalink / raw)
  To: Linux NetDev, Stephen Hemminger, David Miller

I can't quite seem to locate the bridge extensions to iproute2.

Mentioned for example at:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=b078f0df676233fc7ebc1ab270bd11ef5824bb64

I'm interested in finding a way to disable the stp and learning on a
bridge and manually from userspace configuring the mac forwarding
database.
[for basically a userspace STP implementation, which wouldn't actually
be a tree]

Can this be done?

Thanks,

- Maciej

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Bridge extensions to iproute2
  2012-07-10 21:38 Maciej Żenczykowski
@ 2012-07-10 21:58 ` Stephen Hemminger
  2012-07-10 22:01   ` Maciej Żenczykowski
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen Hemminger @ 2012-07-10 21:58 UTC (permalink / raw)
  To: Maciej Żenczykowski; +Cc: Linux NetDev, David Miller

On Tue, 10 Jul 2012 14:38:25 -0700
Maciej Żenczykowski <zenczykowski@gmail.com> wrote:

> I can't quite seem to locate the bridge extensions to iproute2.
> 
> Mentioned for example at:
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=b078f0df676233fc7ebc1ab270bd11ef5824bb64
> 
> I'm interested in finding a way to disable the stp and learning on a
> bridge and manually from userspace configuring the mac forwarding
> database.
> [for basically a userspace STP implementation, which wouldn't actually
> be a tree]
> 
> Can this be done?
> 
> Thanks,
> 
> - Maciej

I will get back to these. There wasn't a motivation to go fast because
there wasn't a user of these. Now with fdb offload support they are needed.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Bridge extensions to iproute2
  2012-07-10 21:58 ` Stephen Hemminger
@ 2012-07-10 22:01   ` Maciej Żenczykowski
  2012-07-10 22:06     ` Stephen Hemminger
  2012-08-02  0:07     ` Stephen Hemminger
  0 siblings, 2 replies; 8+ messages in thread
From: Maciej Żenczykowski @ 2012-07-10 22:01 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: Linux NetDev, David Miller

> I will get back to these. There wasn't a motivation to go fast because
> there wasn't a user of these. Now with fdb offload support they are needed.

Do you have some semi-ready patches that could be used for test purposes?

While it looks like the forwarding database capability is there in the kernel,
I can't currently find an interface to turn learning off.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Bridge extensions to iproute2
  2012-07-10 22:01   ` Maciej Żenczykowski
@ 2012-07-10 22:06     ` Stephen Hemminger
  2012-08-02  0:07     ` Stephen Hemminger
  1 sibling, 0 replies; 8+ messages in thread
From: Stephen Hemminger @ 2012-07-10 22:06 UTC (permalink / raw)
  To: Maciej Żenczykowski; +Cc: Linux NetDev, David Miller

On Tue, 10 Jul 2012 15:01:26 -0700
Maciej Żenczykowski <zenczykowski@gmail.com> wrote:

> > I will get back to these. There wasn't a motivation to go fast because
> > there wasn't a user of these. Now with fdb offload support they are needed.
> 
> Do you have some semi-ready patches that could be used for test purposes?
> 
> While it looks like the forwarding database capability is there in the kernel,
> I can't currently find an interface to turn learning off.

I'll put something in today.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Bridge extensions to iproute2
  2012-07-10 22:01   ` Maciej Żenczykowski
  2012-07-10 22:06     ` Stephen Hemminger
@ 2012-08-02  0:07     ` Stephen Hemminger
  2012-08-05  1:49       ` Maciej Żenczykowski
  1 sibling, 1 reply; 8+ messages in thread
From: Stephen Hemminger @ 2012-08-02  0:07 UTC (permalink / raw)
  To: Maciej Żenczykowski; +Cc: Linux NetDev, David Miller

On Tue, 10 Jul 2012 15:01:26 -0700
Maciej Żenczykowski <zenczykowski@gmail.com> wrote:

> > I will get back to these. There wasn't a motivation to go fast because
> > there wasn't a user of these. Now with fdb offload support they are needed.
> 
> Do you have some semi-ready patches that could be used for test purposes?
> 
> While it looks like the forwarding database capability is there in the kernel,
> I can't currently find an interface to turn learning off.

I cleaned it up an put in 3.5.0 just released version.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Bridge extensions to iproute2
  2012-08-02  0:07     ` Stephen Hemminger
@ 2012-08-05  1:49       ` Maciej Żenczykowski
  0 siblings, 0 replies; 8+ messages in thread
From: Maciej Żenczykowski @ 2012-08-05  1:49 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: Linux NetDev, David Miller

Thanks.  Would it make sense to merge bridge-utils / brctl into iproute2?

On Wed, Aug 1, 2012 at 5:07 PM, Stephen Hemminger <shemminger@vyatta.com> wrote:
> On Tue, 10 Jul 2012 15:01:26 -0700
> Maciej Żenczykowski <zenczykowski@gmail.com> wrote:
>
>> > I will get back to these. There wasn't a motivation to go fast because
>> > there wasn't a user of these. Now with fdb offload support they are needed.
>>
>> Do you have some semi-ready patches that could be used for test purposes?
>>
>> While it looks like the forwarding database capability is there in the kernel,
>> I can't currently find an interface to turn learning off.
>
> I cleaned it up an put in 3.5.0 just released version.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Bridge extensions to iproute2
@ 2012-08-05  2:45 Stephen Hemminger
  2012-08-05  7:27 ` Maciej Żenczykowski
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen Hemminger @ 2012-08-05  2:45 UTC (permalink / raw)
  To: Maciej Żenczykowski; +Cc: Stephen Hemminger, Linux NetDev, David Miller

There is barely any overlap between bridge-utils and iproute2.
I was thinking of making a script 'brctl' that does same thing as
old utility but using new netlink based commands.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Bridge extensions to iproute2
  2012-08-05  2:45 Bridge extensions to iproute2 Stephen Hemminger
@ 2012-08-05  7:27 ` Maciej Żenczykowski
  0 siblings, 0 replies; 8+ messages in thread
From: Maciej Żenczykowski @ 2012-08-05  7:27 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: Stephen Hemminger, Linux NetDev, David Miller

Yes, there really isn't much reason for bridge configuration to be a
separate package than iproute, seeing how there's vlan/veth etc
configuration built into 'ip'

On Sat, Aug 4, 2012 at 7:45 PM, Stephen Hemminger
<stephen.hemminger@vyatta.com> wrote:
> There is barely any overlap between bridge-utils and iproute2.
> I was thinking of making a script 'brctl' that does same thing as
> old utility but using new netlink based commands.
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-08-05  7:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-05  2:45 Bridge extensions to iproute2 Stephen Hemminger
2012-08-05  7:27 ` Maciej Żenczykowski
  -- strict thread matches above, loose matches on Subject: below --
2012-07-10 21:38 Maciej Żenczykowski
2012-07-10 21:58 ` Stephen Hemminger
2012-07-10 22:01   ` Maciej Żenczykowski
2012-07-10 22:06     ` Stephen Hemminger
2012-08-02  0:07     ` Stephen Hemminger
2012-08-05  1:49       ` Maciej Żenczykowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).