Thanks for this and the other review. Did you try building it? I have
not build-tested any of the changes in this series outside of a
GNU/Linux environment.
On Fri, Aug 02, 2013 at 02:35:42AM +, YAMAMOTO Takashi wrote:
> looks ok to me.
>
> YAMAMOTO Takashi
>
> > Signed-off-by: Ben Pfaff
This is a good solution. Thanks.
On Thu, Aug 1, 2013 at 6:58 PM, Jesse Gross wrote:
> On Thu, Aug 1, 2013 at 4:39 PM, Andy Zhou wrote:
> > acked-by: Andy Zhou
> >
> >
> > On Thu, Aug 1, 2013 at 4:17 PM, Jesse Gross wrote:
> >>
> >> A tunnel value attribute is not allowed to have an empty IP
Thanks Ben.
On Fri, Aug 2, 2013 at 3:04 AM, Ben Pfaff wrote:
> On Wed, Jul 31, 2013 at 09:31:54AM +0900, Joe Stringer wrote:
> > This patchset introduces matching and rewriting support for sctp
> > src,dst ports. Round four does a rebase against the megaflow
> > changes, and shuffles compat co
looks ok to me.
YAMAMOTO Takashi
> Signed-off-by: Ben Pfaff
> CC: Ed Maste
> CC: YAMAMOTO Takashi
> ---
> lib/netdev-bsd.c |7 ++-
> 1 file changed, 2 insertions(+), 5 deletions(-)
>
> diff --git a/lib/netdev-bsd.c b/lib/netdev-bsd.c
> index 2e49c94..6ff6b3e 100644
> --- a/lib/netdev
looks ok to me.
YAMAMOTO Takashi
> Signed-off-by: Ben Pfaff
> CC: Ed Maste
> CC: YAMAMOTO Takashi
> ---
> lib/netdev-bsd.c | 91
> +-
> 1 file changed, 42 insertions(+), 49 deletions(-)
>
> diff --git a/lib/netdev-bsd.c b/lib/netdev-bsd.
This patch retires a venerable library whose inception dates before
the first patch of the current repository: tags. They have served us
well, but their time has come for the reasons listed below.
1) They don't actually help much.
In theory, tags had been used to reduce revalidation necessary whe
This patch transitions bonding away from using tags as required by
future patches.
Signed-off-by: Ethan Jackson
---
lib/bond.c | 156 +-
lib/bond.h | 11 ++-
ofproto/ofproto-dpif-xlate.c |5 +-
ofproto/ofproto-dpi
This patch transitions mac learning away from using tags as required
by future patches.
Signed-off-by: Ethan Jackson
---
lib/learning-switch.c|9 +++
lib/mac-learning.c | 60 +-
lib/mac-learning.h | 22 --
Thanks, I added a comment and pushed it.
On Thu, Aug 1, 2013 at 6:24 PM, Justin Pettit wrote:
> Looks good. It might be nice to add a comment stating that only tunnel uses
> mark right now, since it's not inherent that mark's are specific to tunnels.
> It might act as a good reminder later if
On Thu, Aug 1, 2013 at 4:39 PM, Andy Zhou wrote:
> acked-by: Andy Zhou
>
>
> On Thu, Aug 1, 2013 at 4:17 PM, Jesse Gross wrote:
>>
>> A tunnel value attribute is not allowed to have an empty IP destination
>> address but this is legal for masks. This drops both the checks for
>> serializing mask
Looks good. It might be nice to add a comment stating that only tunnel uses
mark right now, since it's not inherent that mark's are specific to tunnels.
It might act as a good reminder later if/when we use mark other places.
Acked-by: Justin Pettit
Thanks!
--Justin
On Aug 1, 2013, at 1:36
acked-by: Andy Zhou
This change makes the code easier to read. Thanks.
On Thu, Aug 1, 2013 at 4:17 PM, Jesse Gross wrote:
> The intention is clearer than if we rederive it in every location.
>
> Signed-off-by: Jesse Gross
> ---
> datapath/flow.c | 9 +
> 1 file changed, 5 insertions
acked-by: Andy Zhou
On Thu, Aug 1, 2013 at 4:17 PM, Jesse Gross wrote:
> A tunnel value attribute is not allowed to have an empty IP destination
> address but this is legal for masks. This drops both the checks for
> serializing masks and also the sanity checks on them.
>
> Signed-off-by: Jess
Thanks, I've merged it.
Ethan
On Thu, Aug 1, 2013 at 4:19 PM, Ben Pfaff wrote:
> On Thu, Aug 01, 2013 at 04:05:38PM -0700, Ethan Jackson wrote:
>> No one uses it except ofproto-dpif.
>>
>> Signed-off-by: Ethan Jackson
>
> If it compiles, it's golden, thanks.
>
> Acked-by: Ben Pfaff
X-CudaMail-
On Thu, Aug 01, 2013 at 04:05:38PM -0700, Ethan Jackson wrote:
> No one uses it except ofproto-dpif.
>
> Signed-off-by: Ethan Jackson
If it compiles, it's golden, thanks.
Acked-by: Ben Pfaff
___
dev mailing list
dev@openvswitch.org
http://openvswitch
A tunnel value attribute is not allowed to have an empty IP destination
address but this is legal for masks. This drops both the checks for
serializing masks and also the sanity checks on them.
Signed-off-by: Jesse Gross
---
datapath/flow.c | 5 -
lib/odp-util.c | 2 +-
2 files changed, 5 i
The intention is clearer than if we rederive it in every location.
Signed-off-by: Jesse Gross
---
datapath/flow.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/datapath/flow.c b/datapath/flow.c
index 0a6e040..ebe8fb3 100644
--- a/datapath/flow.c
+++ b/datapath/flow
No one uses it except ofproto-dpif.
Signed-off-by: Ethan Jackson
---
ofproto/ofproto-dpif.c |4 +++-
ofproto/ofproto-dpif.h |3 ---
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c
index 50163a5..b04ce66 100644
--- a/ofproto/o
Once we have multiple threads running, having each execute flow mods
created by the learn action won't be tenable. It essentially will
require us to make the core ofproto module thread safe, which is not
the direction we want to go. This patch punts on the problem by
handing flow mods to ofproto-
This will make locking easier in future patches.
Signed-off-by: Ethan Jackson
---
ofproto/ofproto-dpif-xlate.c | 88 ++-
ofproto/ofproto-dpif-xlate.h |5 +-
ofproto/ofproto-dpif.c | 104 +++---
ofproto/ofproto-dpif.
This patch pulls the STP xlation code into ofproto-dpif-xlate where it
will be easier to guard.
Signed-off-by: Ethan Jackson
---
ofproto/ofproto-dpif-xlate.c | 91 ++
ofproto/ofproto-dpif-xlate.h | 12 +++---
ofproto/ofproto-dpif.c | 50 +--
OVS locking was recently changed to have private OVS lock which
simplified overall locking. Therefore there is no need to have
another global genl lock to protect OVS data structures. Following
patch uses of parallel_ops genl family for OVS. This also allows
more granual OVS locking using ovs_mu
Applied, thanks.
On Thu, Aug 01, 2013 at 03:21:20PM -0700, Ethan Jackson wrote:
> Acked-by: Ethan Jackson
>
>
> On Thu, Aug 1, 2013 at 2:07 PM, Ben Pfaff wrote:
> > Clang has nice static analysis and works well as an Open vSwitch compiler,
> > so mention it more explicitly.
> >
> > Signed-off-
Thanks
On Thu, Aug 1, 2013 at 1:29 PM, Ben Pfaff wrote:
> On Thu, Aug 01, 2013 at 01:25:57PM -0700, Ethan Jackson wrote:
>> Good Idea, here's a new version. The only change is the unit tests.
>
> Acked-by: Ben Pfaff
X-CudaMail-Whitelist-To: dev@openvswitch.org
__
Acked-by: Ethan Jackson
On Thu, Aug 1, 2013 at 2:07 PM, Ben Pfaff wrote:
> Clang has nice static analysis and works well as an Open vSwitch compiler,
> so mention it more explicitly.
>
> Signed-off-by: Ben Pfaff
> ---
> CodingStyle |9 +
> INSTALL | 14 +++---
> 2 fi
Changes are mostly related API changes in vlan, GRE
restructuring.
Signed-off-by: Pravin B Shelar
---
datapath/actions.c |4 +-
datapath/datapath.c|2 +-
datapath/linux/Modules.mk |1 +
datapath/
The rtnetlink_link asynchronous netlink notifications seem somewhat
troublesome in a threaded environment. It seems more straightforward
to have netdev-linux fend for itself.
Signed-off-by: Ben Pfaff
---
lib/netdev-linux.c | 172 +++-
1 file chan
When an upcoming commit introduces thread safety into the netdev API, this
allows netdev-dummy to avoid adding more internal locking by taking
advantage of netdev_get_devices() refcounting.
Signed-off-by: Ben Pfaff
---
lib/netdev-dummy.c | 48 ++--
1
Signed-off-by: Ben Pfaff
CC: Ed Maste
CC: YAMAMOTO Takashi
---
lib/netdev-bsd.c | 91 +-
1 file changed, 42 insertions(+), 49 deletions(-)
diff --git a/lib/netdev-bsd.c b/lib/netdev-bsd.c
index 503207f..d365ebf 100644
--- a/lib/netdev-bsd.c
This is the same lifecycle used in the ofproto provider interface.
Compared to the previous netdev provider interface, it has the
advantage that the netdev top layer can control when any given
netdev becomes visible to the outside world.
Signed-off-by: Ben Pfaff
---
lib/netdev-bsd.c | 116
When threading comes into the picture there arises the possibility of a
race between netdev_vport_patch_peer()'s caller using the returned string
and another caller changing the peer. It is safer to return a copy.
Signed-off-by: Ben Pfaff
---
lib/netdev-vport.c | 21 -
The only uses of 'af_inet_sock', in both drivers, were ioctls, so it seemed
like a good abstraction to write a function that just does such an ioctl,
and to factor out shared code into socket-util.
Signed-off-by: Ben Pfaff
CC: Ed Maste
---
lib/netdev-bsd.c | 84 +
Signed-off-by: Ben Pfaff
---
lib/netdev-linux.c |4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c
index 29daef8..ba0d863 100644
--- a/lib/netdev-linux.c
+++ b/lib/netdev-linux.c
@@ -537,7 +537,6 @@ static void
netdev_linux_cache_cb(
This API change is necessary for thread safety, to be added in an upcoming
commit. Otherwise, the client would not be able to safely use the returned
netdev because it could already have been destroyed.
Signed-off-by: Ben Pfaff
---
lib/netdev-linux.c |1 +
lib/netdev.c | 17
Signed-off-by: Ben Pfaff
CC: Ed Maste
CC: YAMAMOTO Takashi
---
lib/netdev-bsd.c |7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/lib/netdev-bsd.c b/lib/netdev-bsd.c
index 2e49c94..6ff6b3e 100644
--- a/lib/netdev-bsd.c
+++ b/lib/netdev-bsd.c
@@ -1312,12 +1312,9 @@ ne
This API change is necessary for thread safety, to be added in an upcoming
commit. Otherwise, the client would not be able to actually use any of
the returned netdevs because they could already have been destroyed.
Signed-off-by: Ben Pfaff
---
lib/netdev-bsd.c | 32 ++---
Signed-off-by: Ben Pfaff
---
lib/netdev-linux.c | 42 +-
1 file changed, 13 insertions(+), 29 deletions(-)
diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c
index cc86ec6..768b4e8 100644
--- a/lib/netdev-linux.c
+++ b/lib/netdev-linux.c
@@ -120,10 +12
Signed-off-by: Ben Pfaff
---
lib/netdev-provider.h |6 --
1 file changed, 6 deletions(-)
diff --git a/lib/netdev-provider.h b/lib/netdev-provider.h
index 137b659..19230a1 100644
--- a/lib/netdev-provider.h
+++ b/lib/netdev-provider.h
@@ -50,12 +50,6 @@ struct netdev *netdev_from_name(con
Always, correct a comment on netdev_linux_get_features().
Signed-off-by: Ben Pfaff
---
lib/netdev-linux.c | 13 -
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c
index 19e39bd..29daef8 100644
--- a/lib/netdev-linux.c
+++ b/lib/n
The data items returned by netdev_get_devices() are "struct netdev *"s.
The code fixed up by this commit used them as "struct netdev_bsd *" or
"struct netdev_linux *", which happens to work because struct netdev
happens to be at offset 0 in each struct but it's better to do a proper
cast in case so
Signed-off-by: Ben Pfaff
---
lib/netdev-linux.c |1 -
1 file changed, 1 deletion(-)
diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c
index 768b4e8..19e39bd 100644
--- a/lib/netdev-linux.c
+++ b/lib/netdev-linux.c
@@ -355,7 +355,6 @@ static int tc_calc_buffer(unsigned int Bps, int mtu,
u
Signed-off-by: Ben Pfaff
---
lib/netdev-linux.c |3 +--
lib/netdev.c |6 ++
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c
index 29d8ad9..cc86ec6 100644
--- a/lib/netdev-linux.c
+++ b/lib/netdev-linux.c
@@ -1424,8 +1424,7 @
Found by inspection.
Signed-off-by: Ben Pfaff
---
lib/netdev-linux.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c
index 301a754..0baa40f 100644
--- a/lib/netdev-linux.c
+++ b/lib/netdev-linux.c
@@ -672,19 +672,21 @@ netdev_l
I'd forgotten even to use the xpthread variants here.
Signed-off-by: Ben Pfaff
---
lib/netdev-vport.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c
index 4214b38..14b3347 100644
--- a/lib/netdev-vport.c
+++ b/lib/netdev-vport
Signed-off-by: Ben Pfaff
---
lib/netdev-linux.h |2 --
1 file changed, 2 deletions(-)
diff --git a/lib/netdev-linux.h b/lib/netdev-linux.h
index e404e46..7874dd6 100644
--- a/lib/netdev-linux.h
+++ b/lib/netdev-linux.h
@@ -24,8 +24,6 @@
* Linux-specific code. */
struct netdev;
-struct n
This code failed to free the packet if it was too big for the caller.
Signed-off-by: Ben Pfaff
---
lib/netdev-dummy.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/lib/netdev-dummy.c b/lib/netdev-dummy.c
index c4f58b7..e7dfe9f 100644
--- a/lib/netdev-dummy.
change_seq is supposed to always be nonzero but tap devices got this wrong.
Signed-off-by: Ben Pfaff
---
lib/netdev-linux.c |1 +
1 file changed, 1 insertion(+)
diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c
index 0baa40f..55f676a 100644
--- a/lib/netdev-linux.c
+++ b/lib/netdev-linux
netdev_bsd_get_in4() did not set anything in its 'netmask' output argument
if the IPv4 address was cached, leaving it indeterminate. It would also
mark the cache as valid even if there was an error retrieving the netmask.
This fixes both problems.
Found by inspection.
Signed-off-by: Ben Pfaff
C
Signed-off-by: Ben Pfaff
CC: Ed Maste
---
lib/netdev-bsd.c |1 +
1 file changed, 1 insertion(+)
diff --git a/lib/netdev-bsd.c b/lib/netdev-bsd.c
index 903659f..65e1d25 100644
--- a/lib/netdev-bsd.c
+++ b/lib/netdev-bsd.c
@@ -370,6 +370,7 @@ netdev_bsd_create_tap(const struct netdev_class *c
Signed-off-by: Ben Pfaff
CC: Ed Maste
---
lib/netdev-bsd.c |1 +
1 file changed, 1 insertion(+)
diff --git a/lib/netdev-bsd.c b/lib/netdev-bsd.c
index 401d03a..8605182 100644
--- a/lib/netdev-bsd.c
+++ b/lib/netdev-bsd.c
@@ -323,6 +323,7 @@ netdev_bsd_create_system(const struct netdev_class
If a notification is bigger than 4 kB (I doubt it one would be), then the
lack of ofpbuf_uninit() would cause a memory leak.
Signed-off-by: Ben Pfaff
---
lib/dpif-linux.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/lib/dpif-linux.c b/lib/dpif-linux.c
Signed-off-by: Ben Pfaff
CC: Ed Maste
---
lib/netdev-bsd.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/lib/netdev-bsd.c b/lib/netdev-bsd.c
index 8605182..903659f 100644
--- a/lib/netdev-bsd.c
+++ b/lib/netdev-bsd.c
@@ -363,14 +363,14 @@ netdev_bsd_create_ta
The point of this series is to make the netdev layer and its
implementations thread-safe, but along the way I found lots
of bugs to fix and minor improvements.
Ben Pfaff (27):
dpif-linux: Fix theoretical memory leak on error path.
netdev-bsd: Fix memory leak on error path.
netdev-bsd: Fix ty
Clang has nice static analysis and works well as an Open vSwitch compiler,
so mention it more explicitly.
Signed-off-by: Ben Pfaff
---
CodingStyle |9 +
INSTALL | 14 +++---
2 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/CodingStyle b/CodingStyle
index
The tunnel lookup uses the skb_mark as part of the port find process
but it isn't unmasked along with the other fields. This adds it to
the list of significant fields.
Signed-off-by: Jesse Gross
---
ofproto/ofproto-dpif-xlate.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ofproto/ofproto-
On Thu, Aug 01, 2013 at 01:25:57PM -0700, Ethan Jackson wrote:
> Good Idea, here's a new version. The only change is the unit tests.
Acked-by: Ben Pfaff
___
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev
Good Idea, here's a new version. The only change is the unit tests.
---
ofproto/ofproto-dpif-xlate.c | 30 ++
tests/ofproto-dpif.at|4 ++--
2 files changed, 4 insertions(+), 30 deletions(-)
diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpi
On Thu, Aug 1, 2013 at 10:49 AM, Andy Zhou wrote:
> When key.eth_type is absent it is interpreted to be 802.2. In this
> case, the eth_type mask, if supplied, will be overridden to be exact
> match, regardless of the value supplied.
>
> Signed-off-by: Andy Zhou
> ---
> datapath/flow.c | 13 +++
On Thu, Aug 1, 2013 at 10:49 AM, Andy Zhou wrote:
> Pre mega flow, netlink allows the in_port key attribute
> to be missing. Missing in_port is interpreted as DP_MAX_PORTS.
>
> For backward compatibility, mega flow implementation will always allow
> the mask of in_port to be specified, as if the i
On Thu, Aug 01, 2013 at 01:00:11PM -0700, Ethan Jackson wrote:
> > I'm OK with changing the implementation, but I don't like the idea of
> > the externally visible behavior changing. What if, instead of doing
> > this iteratively, we simply don't penalize goto_table actions with
> > taking up a le
> I'm OK with changing the implementation, but I don't like the idea of
> the externally visible behavior changing. What if, instead of doing
> this iteratively, we simply don't penalize goto_table actions with
> taking up a level of resubmit? We limit the levels of resubmit to
> avoid loops, but
Could I have your signed-off-by?
Acked-by: Ethan Jackson
X-CudaMail-Whitelist-To: dev@openvswitch.org
___
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev
> I actually like data structures that are locked externally, when it is
> possible, because it gives additional flexibility. You can, for
> example, implement multi-object transactions without additional cost,
> or you can leave out the locking entirely if it isn't needed. In the
> past, I've or
Thanks for the review, I'll merge this soon.
Ethan
On Thu, Aug 1, 2013 at 11:06 AM, Ben Pfaff wrote:
> On Tue, Jul 30, 2013 at 05:59:10PM -0700, Ethan Jackson wrote:
>> Signed-off-by: Ethan Jackson
>> ---
>>
>> This version makes the "all_stps" pointer const. Adds a comment
>> explaining why
Thanks for the additional explanation in the commit message.
Ethan
On Thu, Aug 1, 2013 at 10:49 AM, Andy Zhou wrote:
> Pre mega flow, netlink allows the in_port key attribute
> to be missing. Missing in_port is interpreted as DP_MAX_PORTS.
>
> For backward compatibility, mega flow implementation
On Tue, Jul 30, 2013 at 02:37:38PM -0700, Ethan Jackson wrote:
> > Why does the client do the locking?
>
> In a couple of places we iterate over each mac_entry by directly
> accessing its LRU node. I tried hiding the locking internally, but
> believe it or not this turned out to be cleaner. If w
Fair enough.
Acked-by: Ben Pfaff
On Tue, Jul 30, 2013 at 06:48:42PM -0700, Ethan Jackson wrote:
> Perhaps it's premature optimization, but I think bonding is a pretty
> important use case, and I didn't want to require an exclusive lock
> when running bond_choose_output_slave().
>
> Ethan
>
> O
On Tue, Jul 30, 2013 at 04:02:05PM -0700, Ethan Jackson wrote:
> There was actually a second potential deadlock. I fixed both of them and
> systematically annotated the functions, hopefully preventing the problem in
> the
> future.
Thanks for fixing these. I only skimmed the incremental, but:
A
On Tue, Jul 30, 2013 at 06:46:37PM -0700, Ethan Jackson wrote:
> Signed-off-by: Ethan Jackson
I checked for some of the changes that I requested and I trust that
you fixed the rest too. Thanks.
Acked-by: Ben Pfaff
___
dev mailing list
dev@openvswitch
On Tue, Jul 30, 2013 at 05:59:10PM -0700, Ethan Jackson wrote:
> Signed-off-by: Ethan Jackson
> ---
>
> This version makes the "all_stps" pointer const. Adds a comment
> explaining why we're using a recursive mutex. And systematically
> marks the helper functions as requireing a lock.
You'll n
On Tue, Jul 30, 2013 at 05:50:02PM -0700, Ethan Jackson wrote:
> > There are definitely ways around the thread safety analysis. My
> > feeling is that we should be pretty strict about it except in modules
> > where contention is a real problem.
> >
> >> Why does stp need a recursive mutex? I don'
On Wed, Jul 31, 2013 at 09:31:54AM +0900, Joe Stringer wrote:
> This patchset introduces matching and rewriting support for sctp
> src,dst ports. Round four does a rebase against the megaflow
> changes, and shuffles compat code around a bit. Functionally, we no
> longer have any code for Xen compa
On Tue, Jul 30, 2013 at 05:29:10PM -0700, Ethan Jackson wrote:
> This patch reverts commit 5559942 (ofproto-dpif: GOTO_TABLE recursion
> removal.) by reintroducing the recursion through xlate_table_action().
> The main reason to do this is the introduction of new rule locking in
> future patches.
On Thu, Aug 01, 2013 at 07:11:25PM +0200, Arturo Mart?n wrote:
> Then, there is no way to use brctl like ovs-vsctl command?
There is no way to use brctl to control OVS 1.10 or later.
___
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman
When key.eth_type is absent it is interpreted to be 802.2. In this
case, the eth_type mask, if supplied, will be overridden to be exact
match, regardless of the value supplied.
Signed-off-by: Andy Zhou
---
datapath/flow.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
dif
Pre mega flow, netlink allows the in_port key attribute
to be missing. Missing in_port is interpreted as DP_MAX_PORTS.
For backward compatibility, mega flow implementation will always allow
the mask of in_port to be specified, as if the in_port key attribute
is always specified.
To prevent accide
Netlink message usually only accpets a mask when there is a
corresponding key attribute. Tunnel mask and eth_type are the
only two expections so far.
Signed-off-by: Andy Zhou
---
datapath/flow.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/datapath/flow.c b/datapath/flow.c
index 62f
Thanks Ben,
Then, there is no way to use brctl like ovs-vsctl command?
2013/8/1 Ben Pfaff
> On Thu, Aug 01, 2013 at 06:04:41PM +0200, Arturo Mart?n wrote:
> > I am trying to use brcompat module like i was using into Ubuntu 12.10,
> but
> > it dosn't works.
>
> brcompat was removed from OVS 1.1
On Thu, Aug 01, 2013 at 09:31:15AM +, YAMAMOTO Takashi wrote:
> > On Wed, Jul 31, 2013 at 11:01:43AM +0900, YAMAMOTO Takashi wrote:
> >> probably this should be an autoconf magic but
> >> 1) i'm not familiar with autoconf and 2) _np functions
> >> are inheretly non-portable anyway.
> >>
> >> S
Thanks for the review. I will send out a V2. addressing your comments.
On Thu, Aug 1, 2013 at 9:19 AM, Jesse Gross wrote:
> On Wed, Jul 31, 2013 at 8:39 PM, Andy Zhou wrote:
> > diff --git a/datapath/flow.c b/datapath/flow.c
> > index 84df4d3..a2111e7 100644
> > --- a/datapath/flow.c
> > +++ b
On Thu, Aug 01, 2013 at 06:04:41PM +0200, Arturo Mart?n wrote:
> I am trying to use brcompat module like i was using into Ubuntu 12.10, but
> it dosn't works.
brcompat was removed from OVS 1.10. If you are using 1.10 or later,
you cannot use brcompat.
_
On Wed, Jul 31, 2013 at 8:39 PM, Andy Zhou wrote:
> Netlink message usually only accpets a mask when there is a
> corresponding key attribute. Tunnel mask and eth_type are the
> only two expections so far.
>
> Signed-off-by: Andy Zhou
Applied, thanks.
On Wed, Jul 31, 2013 at 8:39 PM, Andy Zhou wrote:
> diff --git a/datapath/flow.c b/datapath/flow.c
> index a2111e7..6fc09c2 100644
> --- a/datapath/flow.c
> +++ b/datapath/flow.c
> @@ -1401,6 +1401,9 @@ static int ovs_key_from_nlattrs(struct sw_flow_match
> *match, u64 attrs,
> S
On Wed, Jul 31, 2013 at 8:39 PM, Andy Zhou wrote:
> diff --git a/datapath/flow.c b/datapath/flow.c
> index 84df4d3..a2111e7 100644
> --- a/datapath/flow.c
> +++ b/datapath/flow.c
> @@ -138,8 +138,7 @@ static bool ovs_match_validate(const struct sw_flow_match
> *match,
> /* Tunnel mask is
Hi all,
I am trying to use brcompat module like i was using into Ubuntu 12.10, but
it dosn't works.
I am looking several how to on the net but brcompat module never is running.
Please, could you help me on this?
Many thanks in advance!
Kind regards.
--
Arturo.
___
> On Wed, Jul 31, 2013 at 11:01:43AM +0900, YAMAMOTO Takashi wrote:
>> probably this should be an autoconf magic but
>> 1) i'm not familiar with autoconf and 2) _np functions
>> are inheretly non-portable anyway.
>>
>> Signed-off-by: YAMAMOTO Takashi
>
> I'd rather do it "the right way". I sent
86 matches
Mail list logo