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:
parent
70709c78fd
commit
ee19326a4b
File diff suppressed because it is too large
Load Diff
@ -774,6 +774,41 @@ softnic_pipeline_port_in_disable(struct pmd_internals *p,
|
|||||||
const char *pipeline_name,
|
const char *pipeline_name,
|
||||||
uint32_t port_id);
|
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
|
* Thread
|
||||||
*/
|
*/
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user