[ovs-dev] [PATCH 2/2] ofproto-dpif-xlate: remove vlan checking when mirroring packets

2016-10-31 Thread Hunt Xu
Even access port can carry packets on different VLANs when working with OpenFlow. And VLANs can be selected for mirroring. So it is not needed to check vlan when mirroring packets. Signed-off-by: Hunt Xu --- ofproto/ofproto-dpif-xlate.c | 32 +++ tests/ofproto-dpif.at| 96

[ovs-dev] [PATCH 1/2] ofproto-dpif-xlate: don't check vlan in normal action if vid changed

2016-10-31 Thread Hunt Xu
If a packet's vlan vid has been changed(striped or modified) before entering the "normal" processing, it should be consider a packet on the new VLAN. Therefore vlan checking is not needed. Signed-off-by: Hunt Xu --- ofproto/ofproto-dpif-xlate.c | 23 tests/

[ovs-dev] [PATCH 0/2] ofproto-dpif-xlate: remove unneeded vlan check

2016-10-31 Thread Hunt Xu
ged can be switched to the dest VLAN despite of the VLANs configuration of the originated port. Patch 2 removes the vlan check when mirroring packets. However, if the current behavior is considered correct by design, I am sorry for the misunderstanding and please ignore this series. Hunt Xu (2): ofp