[firefly] [PATCH RFC 1/7] ofproto: allow marking ofport as part of a bundle

Alexandru Copot alex.mihai.c at gmail.com
Thu Apr 10 20:20:54 EEST 2014


Signed-off-by: Alexandru Copot <alex.mihai.c at gmail.com>
Cc: Daniel Baluta <dbaluta at ixiacom.com>
---
 ofproto/ofproto-provider.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ofproto/ofproto-provider.h b/ofproto/ofproto-provider.h
index 8c11aff..1d5ac3c 100644
--- a/ofproto/ofproto-provider.h
+++ b/ofproto/ofproto-provider.h
@@ -54,6 +54,7 @@ struct ofpact;
 struct ofputil_flow_mod;
 struct bfd_cfg;
 struct meter;
+struct ofp_bundle;
 
 extern struct ovs_mutex ofproto_mutex;
 
@@ -176,6 +177,9 @@ struct ofport {
     ofp_port_t ofp_port;        /* OpenFlow port number. */
     long long int created;      /* Time created, in msec. */
     int mtu;
+
+    atomic_bool is_updating;
+    struct ofp_bundle *bundle;
 };
 
 void ofproto_port_set_state(struct ofport *, enum ofputil_port_state);
-- 
1.9.1



More information about the firefly mailing list