datapath: Add ODPP_NORMAL constant.
authorBen Pfaff <blp@nicira.com>
Thu, 11 Feb 2010 21:45:03 +0000 (13:45 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 12 Feb 2010 21:55:47 +0000 (13:55 -0800)
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@hpl.hp.com>
include/openvswitch/datapath-protocol.h

index b079f52..e7b5e5e 100644 (file)
@@ -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. */