commit | b4879a558ce9f7dcea0c0934b090dea9c133792d | [log] [tgz] |
---|---|---|
author | Charles Chan <rascov@gmail.com> | Fri Oct 20 19:09:16 2017 -0700 |
committer | Charles Chan <charles@opennetworking.org> | Tue Oct 31 00:09:59 2017 +0000 |
tree | 5de3257439e35780c0576a86e7ec40458e0c7367 | |
parent | 525ff408501ba6aac224dbce8de7609690829218 [diff] [blame] |
Match VLAN_VID in TMAC table for mcast flows Matching VLAN_VID in TMAC table is mandatory on QMX switches XGS switches support optional VLAN_VID matching so this patch is effective for both platforms In addition, - Take native vlan into account when assigning VLAN for untagged multicast traffic - Fix a bug that puts wrong eth_type in TMAC table Change-Id: I19caf2d6d69096a96b75cb528b6ed37b28d7d988
diff --git a/drivers/default/src/main/java/org/onosproject/driver/pipeline/ofdpa/CpqdOfdpa2VlanPipeline.java b/drivers/default/src/main/java/org/onosproject/driver/pipeline/ofdpa/CpqdOfdpa2VlanPipeline.java index 8a41015..701b76e 100644 --- a/drivers/default/src/main/java/org/onosproject/driver/pipeline/ofdpa/CpqdOfdpa2VlanPipeline.java +++ b/drivers/default/src/main/java/org/onosproject/driver/pipeline/ofdpa/CpqdOfdpa2VlanPipeline.java
@@ -98,7 +98,7 @@ // Multicast MAC if (ethCriterion.mask() != null) { - return processMcastEthDstFilter(ethCriterion, applicationId); + return processMcastEthDstFilter(ethCriterion, assignedVlan, applicationId); } //handling untagged packets via assigned VLAN