[ovs-dev] [PATCH 09/16] datapath: Add ODPP_NORMAL constant.

Ben Pfaff blp at nicira.com
Thu Feb 11 23:18:11 UTC 2010


Some (out-of-tree) datapaths want to pass OFPP_NORMAL up to the datapath.
For now add ODPP_NORMAL.  In the long run we may want to use OFPP_ port
numbers in the datapath interface.

Reported-by: Jean Tourrilhes <jt at hpl.hp.com>
---
 include/openvswitch/datapath-protocol.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/openvswitch/datapath-protocol.h b/include/openvswitch/datapath-protocol.h
index b079f52..e7b5e5e 100644
--- a/include/openvswitch/datapath-protocol.h
+++ b/include/openvswitch/datapath-protocol.h
@@ -107,6 +107,7 @@ struct odp_stats {
 /* Logical ports. */
 #define ODPP_LOCAL      ((__u16)0)
 #define ODPP_NONE       ((__u16)-1)
+#define ODPP_NORMAL     ((__u16)-2)
 
 /* Listening channels. */
 #define _ODPL_MISS_NR   0       /* Packet missed in flow table. */
-- 
1.6.6.1





More information about the dev mailing list