@@ -3933,7 +3933,7 @@ static int set_flowkey_fields(struct nix_rx_flowkey_alg *alg, u32 flow_cfg)
field->hdr_offset = 9; /* offset */
field->bytesm1 = 0; /* 1 byte */
field->ltype_match = NPC_LT_LC_IP;
- field->ltype_mask = 0xF;
+ field->ltype_mask = 0xE;
break;
case NIX_FLOW_KEY_TYPE_IPV4:
case NIX_FLOW_KEY_TYPE_INNR_IPV4:
@@ -3961,7 +3961,10 @@ static int set_flowkey_fields(struct nix_rx_flowkey_alg *alg, u32 flow_cfg)
}
}
- field->ltype_mask = 0xF; /* Match only IPv4 */
+ /* Match only IPv4; both NPC_LT_LC_IP and
+ * NPC_LT_LC_IP_OPT
+ */
+ field->ltype_mask = 0xE;
keyoff_marker = false;
break;
case NIX_FLOW_KEY_TYPE_IPV6: