|
|
@@ -228,6 +228,9 @@ static void cxgb4_process_flow_match(struct net_device *dev,
|
|
|
fs->val.ivlan = vlan_tci;
|
|
|
fs->mask.ivlan = vlan_tci_mask;
|
|
|
|
|
|
+ fs->val.ivlan_vld = 1;
|
|
|
+ fs->mask.ivlan_vld = 1;
|
|
|
+
|
|
|
/* Chelsio adapters use ivlan_vld bit to match vlan packets
|
|
|
* as 802.1Q. Also, when vlan tag is present in packets,
|
|
|
* ethtype match is used then to match on ethtype of inner
|
|
|
@@ -238,8 +241,6 @@ static void cxgb4_process_flow_match(struct net_device *dev,
|
|
|
* ethtype value with ethtype of inner header.
|
|
|
*/
|
|
|
if (fs->val.ethtype == ETH_P_8021Q) {
|
|
|
- fs->val.ivlan_vld = 1;
|
|
|
- fs->mask.ivlan_vld = 1;
|
|
|
fs->val.ethtype = 0;
|
|
|
fs->mask.ethtype = 0;
|
|
|
}
|