The computational field is enabled for wild card pattern support.
The template checks the computational field to add a flow as wild
card entry or exact match entry.
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com>
Reviewed-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
ULP_INDEX_BITMAP_SET(params->fld_bitmap.bits, idx);
/* Not exact match */
if (!ulp_bitmap_is_ones(field->mask, field->size))
- ULP_BITMAP_SET(params->fld_bitmap.bits,
- BNXT_ULP_MATCH_TYPE_BITMASK_WM);
+ ULP_COMP_FLD_IDX_WR(params,
+ BNXT_ULP_CF_IDX_WC_MATCH, 1);
} else {
ULP_INDEX_BITMAP_RESET(params->fld_bitmap.bits, idx);
}
BNXT_ULP_CF_IDX_FID = 49,
BNXT_ULP_CF_IDX_HDR_SIG_ID = 50,
BNXT_ULP_CF_IDX_FLOW_SIG_ID = 51,
- BNXT_ULP_CF_IDX_LAST = 52
+ BNXT_ULP_CF_IDX_WC_MATCH = 52,
+ BNXT_ULP_CF_IDX_LAST = 53
};
enum bnxt_ulp_cond_list_opc {