Re: [ovs-dev] [tunnels2 4/5] datapath: Add multicast tunnel support.

2011-10-24 Thread Ben Pfaff
On Fri, Oct 21, 2011 at 06:04:29PM -0700, Jesse Gross wrote: > On Fri, Oct 21, 2011 at 4:24 PM, Ben Pfaff wrote: > > On Thu, Oct 20, 2011 at 05:11:33PM -0700, Jesse Gross wrote: > >> On Mon, Oct 17, 2011 at 3:14 PM, Ben Pfaff wrote: > >> > diff --git a/datapath/tunnel.c b/datapath/tunnel.c > >> >

Re: [ovs-dev] [tunnels2 4/5] datapath: Add multicast tunnel support.

2011-10-21 Thread Jesse Gross
On Fri, Oct 21, 2011 at 4:24 PM, Ben Pfaff wrote: > On Thu, Oct 20, 2011 at 05:11:33PM -0700, Jesse Gross wrote: >> On Mon, Oct 17, 2011 at 3:14 PM, Ben Pfaff wrote: >> > diff --git a/datapath/tunnel.c b/datapath/tunnel.c >> > index 8edff06..6fde389 100644 >> > --- a/datapath/tunnel.c >> > +++ b/

Re: [ovs-dev] [tunnels2 4/5] datapath: Add multicast tunnel support.

2011-10-21 Thread Ben Pfaff
On Fri, Oct 21, 2011 at 04:24:09PM -0700, Ben Pfaff wrote: > Revised patch follows. No, that was the original patch. Here's the *real* revised patch. --8<--cut here-->8-- From: Ben Pfaff Date: Fri, 21 Oct 2011 16:25:49 -0700 Subject: [PATCH] data

Re: [ovs-dev] [tunnels2 4/5] datapath: Add multicast tunnel support.

2011-10-21 Thread Ben Pfaff
On Thu, Oct 20, 2011 at 05:11:33PM -0700, Jesse Gross wrote: > On Mon, Oct 17, 2011 at 3:14 PM, Ben Pfaff wrote: > > diff --git a/datapath/tunnel.c b/datapath/tunnel.c > > index 8edff06..6fde389 100644 > > --- a/datapath/tunnel.c > > +++ b/datapath/tunnel.c > > int tnl_set_addr(struct vport *vpor

Re: [ovs-dev] [tunnels2 4/5] datapath: Add multicast tunnel support.

2011-10-20 Thread Jesse Gross
On Mon, Oct 17, 2011 at 3:14 PM, Ben Pfaff wrote: > diff --git a/datapath/tunnel.c b/datapath/tunnel.c > index 8edff06..6fde389 100644 > --- a/datapath/tunnel.c > +++ b/datapath/tunnel.c >  int tnl_set_addr(struct vport *vport, const unsigned char *addr) >  { >        struct tnl_vport *tnl_vport =

[ovs-dev] [tunnels2 4/5] datapath: Add multicast tunnel support.

2011-10-17 Thread Ben Pfaff
Something like this, on two separate vswitches, works to try it out: route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0 ovs-vsctl \ -- add-port br0 gre0 \ -- set interface gre0 type=gre options:remote_ip=224.0.0.1 Runtime tested on Linux 3.0, build tested on Linux 2.6.18,