All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven.eckelmann@gmx.de>
To: Jesse Gross <jesse@nicira.com>
Cc: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org,
	Andi Kleen <andi@firstfloor.org>,
	davem@davemloft.net, b.a.t.m.a.n@lists.open-mesh.net
Subject: Re: [B.A.T.M.A.N.] [PATCHv4] net: Add batman-adv meshing protocol
Date: Wed, 8 Sep 2010 22:25:46 +0200	[thread overview]
Message-ID: <201009082225.47498.sven.eckelmann@gmx.de> (raw)
In-Reply-To: <AANLkTi=FVyLE6OHTd+_qDbzSLk6fY5j6wBOWkYA810Dj@mail.gmail.com>

[-- Attachment #1: Type: Text/Plain, Size: 3238 bytes --]

Jesse Gross wrote:
[...]
> >  * Does it propagate the information about the incoming device to the
> >   userspace in case of the not routed packets (everything which should
> 
> I think the last part of your question got cut off.

Or I simple was distracted and didn't finish the sentence. :)

>  However, packets
> do include metadata about the input device.  Userspace would then be
> able to use the normal Linux mechanisms to find out whatever it needs
> (or look at its own information).
> 
> >  * Does it allow to append extra header information to the packet?
> >  * Does it allow fragmentation of packets (not real fragmentation, but
> > more single split)?
> 
> I'm assuming that both of these questions are for tunneling.  Open
> vSwitch currently supports a few different L2 over L3 tunneling
> mechanisms and has a tunnel library that makes adding additional
> protocols easy.  It probably can't do exactly what you need right now,
> but it should be fairly easy to extend.

Hm, low overhead tunneling is one of the main parts, but if you think that it 
is easy to extend then fine.

> >  * Does it allow to define outgoing patterns (on which attached interface
> >   goes the thing out again) on packet number or incoming device (the real
> >   hardware device it was coming in)?
> 
> I'm not sure what you mean by "packet number".  It does allow you to
> specify the output interface based on a number of factors, include the
> input device.

It would mean that for example 5 packets goes over device 1, the next 5 
packets goes over 

> > * directly influence the traffic flow, i.e., ARQ for broadcasts,

Could you please comment on that one (taken from Mareks mail). Think about 
that one:
 * A Broadcast packet must be send over wifi (adhoc)
 * This packet is probably dropped due to some interferences. So each node
   must transmit the broadcast more than one time to be (with a good chance
   successful). This is quite essential on l2 based adhoc wifi mesh networks
   (as tests showed - but please ask Marek for the actual test setups)


> There are three basic components that you need running for Open
> vSwitch: the main daemon, ovs-vswitchd, a lightweight configuration
> manager, ovsdb-server, and the kernel module, openvswitch_mod.  You
> would then be able to write a userspace process to communicate with
> the daemons to handle the above.  As I mentioned, the encapsulation
> would likely require some small additions to the kernel module for
> your particular type of tunneling (unless you are flexible and can use
> one of the existing mechanisms).  However, that would be significantly
> less kernel code than this patch.  As a starting point, I would
> recommend playing around with Open vSwitch as a normal switch to get a
> feeling for its operation (see the INSTALL.Linux file in the source
> distribution for instructions).

Without checking any facts: This sounds a little bit heavy - does it only 
sound heavy and in reality is extreme slim? The problem is that it must run on 
those low end, "please don't run code on me, because I cannot crunch numbers 
and have no ram" machines like the FON2100 or WRT54GL.

thanks,
	Sven

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Sven Eckelmann <sven.eckelmann-Mmb7MZpHnFY@public.gmane.org>
To: Jesse Gross <jesse-l0M0P4e3n4LQT0dZR+AlfA@public.gmane.org>
Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	b.a.t.m.a.n-ZwoEplunGu2X36UT3dwllkB+6BGkLq7r@public.gmane.org,
	Andi Kleen <andi-Vw/NltI1exuRpAAqCnN02g@public.gmane.org>,
	davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org,
	b.a.t.m.a.n-ZwoEplunGu2X36UT3dwlltHuzzzSOjJt@public.gmane.org
Subject: Re: [PATCHv4] net: Add batman-adv meshing protocol
Date: Wed, 8 Sep 2010 22:25:46 +0200	[thread overview]
Message-ID: <201009082225.47498.sven.eckelmann@gmx.de> (raw)
In-Reply-To: <AANLkTi=FVyLE6OHTd+_qDbzSLk6fY5j6wBOWkYA810Dj-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

[-- Attachment #1: Type: Text/Plain, Size: 3238 bytes --]

Jesse Gross wrote:
[...]
> >  * Does it propagate the information about the incoming device to the
> >   userspace in case of the not routed packets (everything which should
> 
> I think the last part of your question got cut off.

Or I simple was distracted and didn't finish the sentence. :)

>  However, packets
> do include metadata about the input device.  Userspace would then be
> able to use the normal Linux mechanisms to find out whatever it needs
> (or look at its own information).
> 
> >  * Does it allow to append extra header information to the packet?
> >  * Does it allow fragmentation of packets (not real fragmentation, but
> > more single split)?
> 
> I'm assuming that both of these questions are for tunneling.  Open
> vSwitch currently supports a few different L2 over L3 tunneling
> mechanisms and has a tunnel library that makes adding additional
> protocols easy.  It probably can't do exactly what you need right now,
> but it should be fairly easy to extend.

Hm, low overhead tunneling is one of the main parts, but if you think that it 
is easy to extend then fine.

> >  * Does it allow to define outgoing patterns (on which attached interface
> >   goes the thing out again) on packet number or incoming device (the real
> >   hardware device it was coming in)?
> 
> I'm not sure what you mean by "packet number".  It does allow you to
> specify the output interface based on a number of factors, include the
> input device.

It would mean that for example 5 packets goes over device 1, the next 5 
packets goes over 

> > * directly influence the traffic flow, i.e., ARQ for broadcasts,

Could you please comment on that one (taken from Mareks mail). Think about 
that one:
 * A Broadcast packet must be send over wifi (adhoc)
 * This packet is probably dropped due to some interferences. So each node
   must transmit the broadcast more than one time to be (with a good chance
   successful). This is quite essential on l2 based adhoc wifi mesh networks
   (as tests showed - but please ask Marek for the actual test setups)


> There are three basic components that you need running for Open
> vSwitch: the main daemon, ovs-vswitchd, a lightweight configuration
> manager, ovsdb-server, and the kernel module, openvswitch_mod.  You
> would then be able to write a userspace process to communicate with
> the daemons to handle the above.  As I mentioned, the encapsulation
> would likely require some small additions to the kernel module for
> your particular type of tunneling (unless you are flexible and can use
> one of the existing mechanisms).  However, that would be significantly
> less kernel code than this patch.  As a starting point, I would
> recommend playing around with Open vSwitch as a normal switch to get a
> feeling for its operation (see the INSTALL.Linux file in the source
> distribution for instructions).

Without checking any facts: This sounds a little bit heavy - does it only 
sound heavy and in reality is extreme slim? The problem is that it must run on 
those low end, "please don't run code on me, because I cannot crunch numbers 
and have no ram" machines like the FON2100 or WRT54GL.

thanks,
	Sven

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2010-09-08 20:25 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-05  0:25 [B.A.T.M.A.N.] [PATCHv4] net: Add batman-adv meshing protocol Sven Eckelmann
2010-09-05  0:25 ` Sven Eckelmann
2010-09-07 17:19 ` [B.A.T.M.A.N.] " Paul E. McKenney
2010-09-07 17:19   ` Paul E. McKenney
2010-09-07 17:56   ` [B.A.T.M.A.N.] " Sven Eckelmann
2010-09-07 17:56     ` Sven Eckelmann
2010-09-07 18:10     ` [B.A.T.M.A.N.] " Paul E. McKenney
2010-09-07 18:10       ` Paul E. McKenney
2010-09-07 18:24       ` [B.A.T.M.A.N.] " Sven Eckelmann
2010-09-07 18:24         ` Sven Eckelmann
2010-09-08  7:14 ` [B.A.T.M.A.N.] " Andi Kleen
2010-09-08  7:14   ` Andi Kleen
2010-09-08  9:42   ` [B.A.T.M.A.N.] " Sven Eckelmann
2010-09-08  9:42     ` Sven Eckelmann
2010-09-08 18:22     ` [B.A.T.M.A.N.] " Jesse Gross
2010-09-08 18:22       ` Jesse Gross
2010-09-08 18:58       ` [B.A.T.M.A.N.] " Sven Eckelmann
2010-09-08 18:58         ` Sven Eckelmann
2010-09-08 19:54         ` [B.A.T.M.A.N.] " Jesse Gross
2010-09-08 19:54           ` Jesse Gross
2010-09-08 20:25           ` Sven Eckelmann [this message]
2010-09-08 20:25             ` Sven Eckelmann
2010-09-08 20:42             ` [B.A.T.M.A.N.] " Sven Eckelmann
2010-09-08 20:42               ` Sven Eckelmann
2010-09-08 23:13             ` [B.A.T.M.A.N.] " Justin Pettit
2010-09-08 23:13               ` Justin Pettit
2010-09-08 23:37             ` [B.A.T.M.A.N.] " Jesse Gross
2010-09-08 23:37               ` Jesse Gross
2010-09-14 19:21               ` [B.A.T.M.A.N.] " Simon Wunderlich
2010-09-14 19:21                 ` Simon Wunderlich
2010-09-08 19:12       ` [B.A.T.M.A.N.] " Marek Lindner
2010-09-08 19:12         ` Marek Lindner
2010-09-08 20:07         ` [B.A.T.M.A.N.] " Jesse Gross
2010-09-08 20:07           ` Jesse Gross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201009082225.47498.sven.eckelmann@gmx.de \
    --to=sven.eckelmann@gmx.de \
    --cc=andi@firstfloor.org \
    --cc=b.a.t.m.a.n@lists.open-mesh.net \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=davem@davemloft.net \
    --cc=jesse@nicira.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.