Searched refs:cls_tbl_params (Results 1 – 2 of 2) sorted by relevance
1665 struct pp2_cls_tbl_key *key = &priv->cls_tbl_params.key; in mrvl_create_cls_table()1673 memset(&priv->cls_tbl_params, 0, sizeof(priv->cls_tbl_params)); in mrvl_create_cls_table()1675 priv->cls_tbl_params.type = mrvl_engine_type(first_flow); in mrvl_create_cls_table()1677 priv->cls_tbl_params.type == PP2_CLS_TBL_EXACT_MATCH ? in mrvl_create_cls_table()1679 priv->cls_tbl_params.max_num_rules = MRVL_CLS_MAX_NUM_RULES; in mrvl_create_cls_table()1680 priv->cls_tbl_params.default_act.type = PP2_CLS_TBL_ACT_DONE; in mrvl_create_cls_table()1681 priv->cls_tbl_params.default_act.cos = &first_flow->cos; in mrvl_create_cls_table()1684 ret = pp2_cls_tbl_init(&priv->cls_tbl_params, &priv->cls_tbl); in mrvl_create_cls_table()1699 int same = memcmp(&flow->table_key, &priv->cls_tbl_params.key, in mrvl_flow_can_be_added()1702 return same && mrvl_engine_type(flow) == priv->cls_tbl_params.type; in mrvl_flow_can_be_added()
172 struct pp2_cls_tbl_params cls_tbl_params; member