Replace the generated_by_table_miss field of struct ofproto_packet_in
with a miss_type field.
The generated_by_table_miss field allowed packet-in messages generated
by table-miss rules to be differentiated. This differentiation
is still provided for by miss_type being set to OFPROTO_PACKET_IN_MISS
OpenFlow 1.1 and 1.2 specify that if a table-miss occurs then the default
behaviour is to forward the packet the controller using a packet-in
message. And until this patch this is the default behaviour that Open
vSwitch uses for all OpenFlow versions.
OpenFlow1.3+ specifies that if a table-miss oc
Cc: YAMAMOTO Takashi
Signed-off-by: Simon Horman
--
v2
* First post
---
tests/ofproto-dpif.at | 84 +++
1 file changed, 84 insertions(+)
diff --git a/tests/ofproto-dpif.at b/tests/ofproto-dpif.at
index a7da1f7..9081f30 100644
--- a/tests/ofproto-
OpenFlow 1.1 and 1.2 specify that if a table-miss occurs then the default
behaviour is to forward the packet the controller using a packet-in
message. And until this patch this is the default behaviour that Open
vSwitch uses for all OpenFlow versions.
OpenFlow1.3+ specifies that if a table-miss oc
On Wed, Mar 12, 2014 at 07:06:20PM +0900, YAMAMOTO Takashi wrote:
> Signed-off-by: YAMAMOTO Takashi
All applied. Thank you!
___
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev
Jarno doesn't have that data at the moment, so here's a summary which
you can put in the commit message if you'd like.
To test this we took real customer ACL tables, and systematically sent
every port from 1 to 65k through them to see how many megaflows are
generated. If you do nothing, you end u
Signed-off-by: Gurucharan Shetty
---
.gitignore |7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index d205227..bd87a7f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,7 +7,12 @@
*.loT
*.mod.c
*.o
-*.o
+*.obj
+*.exe
+*.exp
+*.ilk
+*.lib
+*.pdb
The WSAPoll() function, which is similar to poll() doesnot
simply sleep when the fd array is NULL. So use Sleep() instead.
Signed-off-by: Gurucharan Shetty
---
lib/timeval.c |7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/lib/timeval.c b/lib/timeval.c
index 74efa59..
Signed-off-by: Gurucharan Shetty
---
lib/stdio.c| 12
lib/stdio.h.in |3 +++
2 files changed, 15 insertions(+)
diff --git a/lib/stdio.c b/lib/stdio.c
index 49a5078..5c5c924 100644
--- a/lib/stdio.c
+++ b/lib/stdio.c
@@ -17,6 +17,7 @@
#include
#include
+#include
#
We do not have pidfiles in Windows. And we do not yet have support
for ipsec tunnels. This lets us move forward with compilation.
Signed-off-by: Gurucharan Shetty
---
lib/netdev-vport.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c
index 165c1c6
Signed-off-by: Gurucharan Shetty
---
lib/stream-fd-windows.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/stream-fd-windows.c b/lib/stream-fd-windows.c
index 7a4a995..db60810 100644
--- a/lib/stream-fd-windows.c
+++ b/lib/stream-fd-windows.c
@@ -138,7 +138,7 @@ fd_wa
Signed-off-by: Gurucharan Shetty
---
lib/automake.mk |1 +
1 file changed, 1 insertion(+)
diff --git a/lib/automake.mk b/lib/automake.mk
index c2cfb16..926767c 100644
--- a/lib/automake.mk
+++ b/lib/automake.mk
@@ -243,6 +243,7 @@ lib_libopenvswitch_la_SOURCES += \
lib/getopt_long.c
Signed-off-by: Gurucharan Shetty
---
include/windows/windefs.h |2 ++
1 file changed, 2 insertions(+)
diff --git a/include/windows/windefs.h b/include/windows/windefs.h
index 6d36adc..0a2e064 100644
--- a/include/windows/windefs.h
+++ b/include/windows/windefs.h
@@ -32,4 +32,6 @@
#define u_
Signed-off-by: Gurucharan Shetty
---
lib/ovs-thread.c |5 +
1 file changed, 5 insertions(+)
diff --git a/lib/ovs-thread.c b/lib/ovs-thread.c
index 85de014..ed9f83e 100644
--- a/lib/ovs-thread.c
+++ b/lib/ovs-thread.c
@@ -332,6 +332,7 @@ assert_single_threaded_at(const char *where)
pid_t
idl headers won't be built, if we build individual executables
e..g., "make ovsbd/ovsdb-server.exe". According to
http://www.gnu.org/software/automake/manual/html_node/Built-Sources-Example.html
we may have to add the headers as dependecies for every executables.
Currently the lack of a ovs-appctl
I am not yet sure of the network name size limitation on
Windows. To move forward with compilation of netdev-vport, have the
same limitation as that in Linux.
Signed-off-by: Gurucharan Shetty
---
include/windows/net/if.h | 23 +++
1 file changed, 23 insertions(+)
diff --gi
Signed-off-by: Gurucharan Shetty
---
include/windows/sys/socket.h | 22 ++
1 file changed, 22 insertions(+)
diff --git a/include/windows/sys/socket.h b/include/windows/sys/socket.h
index e69de29..ab6e822 100644
--- a/include/windows/sys/socket.h
+++ b/include/windows/sys/so
struct ofpact has enums that are packed in case of __GNUC__.
This packing does not occur for visual studio. For 'struct ofpact_nest',
we are currently expecting that "struct ofpact actions[]" has an offset of
8 bytes. This condition won't be true in compilers where enums are
not packed.
It is goo
There is no fsync() in Windows. But there is a _commit()
which does the same thing.
Signed-off-by: Gurucharan Shetty
---
include/windows/unistd.h | 21 +
1 file changed, 21 insertions(+)
diff --git a/include/windows/unistd.h b/include/windows/unistd.h
index e69de29..0f553b
Signed-off-by: Gurucharan Shetty
---
include/windows/netinet/ip.h | 25 +
1 file changed, 25 insertions(+)
diff --git a/include/windows/netinet/ip.h b/include/windows/netinet/ip.h
index e69de29..f37f476 100644
--- a/include/windows/netinet/ip.h
+++ b/include/windows/net
Signed-off-by: Gurucharan Shetty
---
lib/bfd.c |1 -
1 file changed, 1 deletion(-)
diff --git a/lib/bfd.c b/lib/bfd.c
index 5413105..1860cb6 100644
--- a/lib/bfd.c
+++ b/lib/bfd.c
@@ -30,7 +30,6 @@
#include "hmap.h"
#include "list.h"
#include "netdev.h"
-#include "netlink.h"
#include "od
There are a few structure definitions that is used from
these headers. The keyword "__packed" has been removed
from the headers as the corresponding Linux headers don't
do packing.
Signed-off-by: Gurucharan Shetty
---
COPYING |4 +
debian/copyright.in |
From: Gurucharan Shetty
Signed-off-by: Gurucharan Shetty
Signed-off-by: Saurabh Shah
Co-authored-by: Saurabh Shah
---
BUILD.Windows |7 ++-
Makefile.am |2 ++
build-aux/cccl |2 +-
lib/automake.mk |5 +
m4/openvswitch.m4 | 21
We start with not supporting symbolic links for database
creation in Windows.
Signed-off-by: Gurucharan Shetty
---
ovsdb/log.c |4
1 file changed, 4 insertions(+)
diff --git a/ovsdb/log.c b/ovsdb/log.c
index 807b983..48fa847 100644
--- a/ovsdb/log.c
+++ b/ovsdb/log.c
@@ -91,6 +91,7 @@
> - fold in Ben's clarification.
> > - refine the comments.
> > - invoke dpif_handlers_set() in udpif_set_threads(). this is a bug.
> > the previous code will cause the handlers polling from closed
> > fd.
>
> I'm still trying to figure out whether I properly understand the new
> API. Here's
> > > PATCH -> V2:
> > > > - explain the drop of upcall queueing priority in dpif-netdev.
> > > > - use mhash to calculate the 5-tuple hash.
> > >
> > > Why does dpif_netdev_recv_set() ignore its 'enable' argument?
> >
> > I saw in current dpif-netdev.c, the dpif_netdev_recv_set() does nothing.
>
On Wed, Mar 12, 2014 at 08:12:16AM -0700, Gurucharan Shetty wrote:
> Windows does not have the getppid(), getuid(), getgid() functions.
> We do get a random seed from CryptGenRandom(). That seed along with
> process id and current time hopefully is good enough.
>
> Signed-off-by: Gurucharan Shetty
On Wed, Mar 12, 2014 at 08:12:15AM -0700, Gurucharan Shetty wrote:
> There is no ftruncate() in visual studio. There is a _chsize_s()
> which has a similar functionality.
>
> Signed-off-by: Gurucharan Shetty
Acked-by: Ben Pfaff
___
dev mailing list
de
On Wed, Mar 12, 2014 at 08:12:14AM -0700, Gurucharan Shetty wrote:
> Visual studio does not understand __attribute__ format.
>
> Signed-off-by: Gurucharan Shetty
Acked-by: Ben Pfaff
___
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailm
Visual studio does not understand __attribute__ format.
Signed-off-by: Gurucharan Shetty
---
lib/ofp-print.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ofp-print.c b/lib/ofp-print.c
index 06e64f6..5b53366 100644
--- a/lib/ofp-print.c
+++ b/lib/ofp-print.c
@@ -572,
There is no ftruncate() in visual studio. There is a _chsize_s()
which has a similar functionality.
Signed-off-by: Gurucharan Shetty
---
include/windows/windefs.h |1 +
lib/util.c| 12
lib/util.h|1 +
3 files changed, 14 insertions(+)
diff
Windows does not have the getppid(), getuid(), getgid() functions.
We do get a random seed from CryptGenRandom(). That seed along with
process id and current time hopefully is good enough.
Signed-off-by: Gurucharan Shetty
---
lib/uuid.c | 24 +---
1 file changed, 13 inserti
Hi,
Found your company is interested in *Rackspace Users*. We provide Top
Decision Makers information like Name, Email, Title, Phone Number and
Company Name, Address, Revenue, Employees Size and other details.
Few of the *Technology* are mentioned below as per you interest:
*AT&T SAVVIS Siri
Signed-off-by: YAMAMOTO Takashi
---
tests/learn.at | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/learn.at b/tests/learn.at
index b88ea12..8807723 100644
--- a/tests/learn.at
+++ b/tests/learn.at
@@ -372,7 +372,7 @@ NXST_FLOW reply:
OVS_VSWITCHD_STOP
AT_CLEANUP
-# T
Signed-off-by: YAMAMOTO Takashi
---
tests/learn.at | 21 ++---
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/tests/learn.at b/tests/learn.at
index 8807723..e656c97 100644
--- a/tests/learn.at
+++ b/tests/learn.at
@@ -381,25 +381,31 @@ ADD_OF_PORTS([br0], 1, 2, 3)
Signed-off-by: YAMAMOTO Takashi
---
tests/learn.at | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/learn.at b/tests/learn.at
index 9bd3c44..b88ea12 100644
--- a/tests/learn.at
+++ b/tests/learn.at
@@ -350,7 +350,8 @@ for i in `seq 1 10`; do
fi
done
-# Check
On Wed, Mar 12, 2014 at 05:00:09PM +0900, YAMAMOTO Takashi wrote:
> > On Wed, Mar 12, 2014 at 12:00:12PM +0900, YAMAMOTO Takashi wrote:
> >> > A packet_in message may be sent for one of two reasons.
> >> >
> >> > 1. As the result of an controller action supplied in a rule.
> >> >This is execut
> On Wed, Mar 12, 2014 at 12:00:12PM +0900, YAMAMOTO Takashi wrote:
>> > A packet_in message may be sent for one of two reasons.
>> >
>> > 1. As the result of an controller action supplied in a rule.
>> >This is executed if a packet matches the match for the rule.
>> >The packet_in reason
On Wed, Mar 12, 2014 at 1:41 PM, Ben Pfaff wrote:
> On Sun, Mar 09, 2014 at 05:48:52PM +0800, kmindg wrote:
>> The restriction only allows to send bpdu in forwarding state in
>> compose_output_action__. But a port could send bpdu in listening
>> and learning state according to comments in lib/stp.
39 matches
Mail list logo