[ovs-dev] [PATCH 2/2] bundle: Don't special case OFPP_LOCAL in bundle actions.

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


The OFPP_LOCAL port is a real port with a carrier status.  There
isn't a good reason to ignore this data when implementing the
bundle action.
---
 ofproto/ofproto-dpif.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

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




More information about the dev mailing list