commit | 77654f9e5ca428ec28083abfbc0960d8870b7f07 | [log] [tgz] |
---|---|---|
author | Daniele Moro <daniele@opennetworking.org> | Tue Jul 30 10:29:54 2019 -0700 |
committer | Carmelo Cascone <carmelo@opennetworking.org> | Mon Aug 12 20:46:46 2019 +0000 |
tree | e118e9898398adc0fd8b44b4cf0ea06b3baf2ee9 | |
parent | ea6d323ae81f0c7d0ac1c56e23ef420d421e1976 [diff] [blame] |
Added ethertype QinQ when double VLAN tagged packets Double VLAN tagged packets in Mininet uses QinQ Ethertype. Change-Id: I7c3fa5f1db1ade768e1d998185d9eadded9ebb81
diff --git a/pipelines/fabric/src/main/resources/include/control/next.p4 b/pipelines/fabric/src/main/resources/include/control/next.p4 index 9868339..e7f6e44 100644 --- a/pipelines/fabric/src/main/resources/include/control/next.p4 +++ b/pipelines/fabric/src/main/resources/include/control/next.p4
@@ -299,6 +299,7 @@ hdr.inner_vlan_tag.vlan_id = fabric_metadata.inner_vlan_id; hdr.inner_vlan_tag.eth_type = fabric_metadata.last_eth_type; hdr.vlan_tag.eth_type = ETHERTYPE_VLAN; + hdr.ethernet.eth_type = ETHERTYPE_QINQ; } #endif // WITH_DOUBLE_VLAN_TERMINATION