[ovs-dev] [PATCH] Improving comment for OFP10_VLAN_NONE.

Mehak Mahajan mmahajan at nicira.com
Tue Jul 31 00:03:38 UTC 2012


Signed-off-by: Mehak Mahajan <mmahajan at nicira.com>
---
 include/openflow/openflow-1.0.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/openflow/openflow-1.0.h b/include/openflow/openflow-1.0.h
index d71b007..97380fa 100644
--- a/include/openflow/openflow-1.0.h
+++ b/include/openflow/openflow-1.0.h
@@ -362,7 +362,8 @@ enum ofp_flow_wildcards {
 #define OFP_DL_TYPE_NOT_ETH_TYPE  0x05ff
 
 /* The VLAN id is 12-bits, so we can use the entire 16 bits to indicate
- * special conditions.  All ones indicates that no VLAN id was set.
+ * special conditions.  All ones indicates that no VLAN id or PCP was set
+ * effectively indicating that 802.1Q header is not present.
  */
 #define OFP10_VLAN_NONE      0xffff
 
-- 
1.7.2.5




More information about the dev mailing list