git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03848f8
)
ofproto: Advertise all supported OpenFlow actions in group features
author
Simon Horman
<horms@verge.net.au>
Wed, 30 Oct 2013 09:17:11 +0000
(18:17 +0900)
committer
Ben Pfaff
<blp@nicira.com>
Sat, 2 Nov 2013 18:47:28 +0000
(11:47 -0700)
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index
4fb7e4f
..
b626a6c
100644
(file)
--- a/
ofproto/ofproto.c
+++ b/
ofproto/ofproto.c
@@
-531,6
+531,10
@@
ofproto_create(const char *datapath_name, const char *datapath_type,
ovs_rwlock_init(&ofproto->groups_rwlock);
hmap_init(&ofproto->groups);
ovs_mutex_unlock(&ofproto_mutex);
+ ofproto->ogf.actions[0] =
+#define OFPAT11_ACTION(ENUM, STRUCT, EXTENSIBLE, NAME) (1 << ENUM) |
+#include "ofp-util.def"
+ 0;
error = ofproto->ofproto_class->construct(ofproto);
if (error) {