net/softnic: add command for pipeline table entries

Add cli commands for table entries in softnic pipeline objects.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
This commit is contained in:
Jasvinder Singh 2018-07-06 18:21:09 +01:00 committed by Cristian Dumitrescu
parent 70709c78fd
commit ee19326a4b
3 changed files with 3103 additions and 3 deletions

File diff suppressed because it is too large Load Diff

View File

@ -774,6 +774,41 @@ softnic_pipeline_port_in_disable(struct pmd_internals *p,
const char *pipeline_name,
uint32_t port_id);
int
softnic_pipeline_table_rule_add(struct pmd_internals *p,
const char *pipeline_name,
uint32_t table_id,
struct softnic_table_rule_match *match,
struct softnic_table_rule_action *action,
void **data);
int
softnic_pipeline_table_rule_add_bulk(struct pmd_internals *p,
const char *pipeline_name,
uint32_t table_id,
struct softnic_table_rule_match *match,
struct softnic_table_rule_action *action,
void **data,
uint32_t *n_rules);
int
softnic_pipeline_table_rule_add_default(struct pmd_internals *p,
const char *pipeline_name,
uint32_t table_id,
struct softnic_table_rule_action *action,
void **data);
int
softnic_pipeline_table_rule_delete(struct pmd_internals *p,
const char *pipeline_name,
uint32_t table_id,
struct softnic_table_rule_match *match);
int
softnic_pipeline_table_rule_delete_default(struct pmd_internals *p,
const char *pipeline_name,
uint32_t table_id);
/**
* Thread
*/

File diff suppressed because it is too large Load Diff