[ovs-dev] [PATCH 1/2] bundle: Allow OFPP_NONE in bundle actions.

Ethan Jackson ethan at nicira.com
Wed Oct 26 23:14:48 UTC 2011


This patch special cases OFPP_NONE to be always up in bundle
actions.  Presumably, if a controller put OFPP_NONE in their bundle
action, they want it to be an available choice.
---
 ofproto/ofproto-dpif.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c
index b53452d..39b83ef 100644
--- a/ofproto/ofproto-dpif.c
+++ b/ofproto/ofproto-dpif.c
@@ -4047,6 +4047,7 @@ slave_enabled_cb(uint16_t ofp_port, void *ofproto_)
     case OFPP_FLOOD:
     case OFPP_ALL:
     case OFPP_LOCAL:
+    case OFPP_NONE:
         return true;
     case OFPP_CONTROLLER: /* Not supported by the bundle action. */
         return false;
-- 
1.7.7




More information about the dev mailing list