mirror of
https://github.com/openvswitch/ovs
synced 2025-10-25 15:07:05 +00:00
meta-flow: Add OF1.2-like MFF_VLAN_VID and MFF_VLAN_PCP.
OpenFlow 1.0 and 1.2 have notions of VLAN that are different enough to warrant separate "meta-flow" fields, which this commit adds. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
@@ -67,7 +67,9 @@ enum mf_field_id {
|
||||
|
||||
MFF_VLAN_TCI, /* be16 */
|
||||
MFF_DL_VLAN, /* be16 (OpenFlow 1.0 compatibility) */
|
||||
MFF_VLAN_VID, /* be16 (OpenFlow 1.2 compatibility) */
|
||||
MFF_DL_VLAN_PCP, /* u8 (OpenFlow 1.0 compatibility) */
|
||||
MFF_VLAN_PCP, /* be16 (OpenFlow 1.2 compatibility) */
|
||||
|
||||
/* L3. */
|
||||
MFF_IPV4_SRC, /* be32 */
|
||||
|
||||
Reference in New Issue
Block a user