[ovs-discuss] Datapath loop

Henrique Rodrigues henriquesilvar at gmail.com
Wed Oct 20 16:30:05 UTC 2010

Hi Ben,

On Wed, Oct 20, 2010 at 2:17 PM, Ben Pfaff <blp at nicira.com> wrote:

> On Wed, Oct 20, 2010 at 12:21:07PM -0200, Henrique Rodrigues wrote:
> > I've been studying the Open vSwitch code and I couldn't understand what
> the
> > "datapath loop" means...
> > I noticed the comment before the struct loop_counter declaration ("*We
> limit
> > the number of times that we pass into dp_process_received_packet() to
> avoid
> > blowing out the stack in the event that we have a loop"*) but I couldn't
> > figure out what the "datapath loop" means.
> >
> > When this "datapath loop" happens? In which situation the
> > dp_process_received_packet() is called within a "loop"?
> One way for a loop to happen would be for a flow to send a packet across
> a patch port to another datapath, which in turn contains a flow that
> send the packet across a different patch port to the originating
> datapath, and so on.

I was thinking about something similar to this, but I haven't tried this
setup before.

Henrique Rodrigues
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20101020/dd87acaa/attachment-0001.html>

More information about the discuss mailing list