Lines Matching refs:table
292 rte_flow_classify_table_free(struct rte_cls_table *table) in rte_flow_classify_table_free() argument
294 if (table->ops.f_free != NULL) in rte_flow_classify_table_free()
295 table->ops.f_free(table->h_table); in rte_flow_classify_table_free()
313 struct rte_cls_table *table = &cls->tables[i]; in rte_flow_classifier_free() local
315 rte_flow_classify_table_free(table); in rte_flow_classifier_free()
374 struct rte_cls_table *table; in rte_flow_classify_table_create() local
397 table = &cls->tables[cls->num_tables]; in rte_flow_classify_table_create()
398 table->type = params->type; in rte_flow_classify_table_create()
402 memcpy(&table->ops, params->ops, sizeof(struct rte_table_ops)); in rte_flow_classify_table_create()
405 table->entry_size = entry_size; in rte_flow_classify_table_create()
406 table->h_table = h_table; in rte_flow_classify_table_create()
534 struct rte_cls_table *table = &cls->tables[i]; in rte_flow_classify_table_entry_add() local
536 if (table->type == table_type) { in rte_flow_classify_table_entry_add()
537 if (table->ops.f_add != NULL) { in rte_flow_classify_table_entry_add()
538 ret = table->ops.f_add( in rte_flow_classify_table_entry_add()
539 table->h_table, in rte_flow_classify_table_entry_add()
571 struct rte_cls_table *table = &cls->tables[i]; in rte_flow_classify_table_entry_delete() local
573 if (table->type == tbl_type) { in rte_flow_classify_table_entry_delete()
574 if (table->ops.f_delete != NULL) { in rte_flow_classify_table_entry_delete()
575 ret = table->ops.f_delete(table->h_table, in rte_flow_classify_table_entry_delete()
590 struct rte_cls_table *table, in flow_classifier_lookup() argument
599 ret = table->ops.f_lookup(table->h_table, in flow_classifier_lookup()
653 struct rte_cls_table *table = &cls->tables[i]; in rte_flow_classifier_query() local
655 if (table->type == tbl_type) { in rte_flow_classifier_query()
656 ret = flow_classifier_lookup(cls, table, in rte_flow_classifier_query()