summaryrefslogtreecommitdiff
path: root/examples/ip_pipeline/cli.c
diff options
context:
space:
mode:
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>2018-10-30 18:09:35 +0000
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>2018-11-02 12:25:12 +0100
commitc348ec0594765c5407e28d1a40e09ad624705cfd (patch)
tree65bccbbb6db361f59266e8adf70abb3beb465912 /examples/ip_pipeline/cli.c
parent27b333b232372c37be2f228e71063504e949ba25 (diff)
downloaddpdk-c348ec0594765c5407e28d1a40e09ad624705cfd.zip
dpdk-c348ec0594765c5407e28d1a40e09ad624705cfd.tar.gz
dpdk-c348ec0594765c5407e28d1a40e09ad624705cfd.tar.xz
examples/ip_pipeline: track rules on add default
Support table rule tracking on table rule add default operation. Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Diffstat (limited to 'examples/ip_pipeline/cli.c')
-rw-r--r--examples/ip_pipeline/cli.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/ip_pipeline/cli.c b/examples/ip_pipeline/cli.c
index 5011cad..54d347c 100644
--- a/examples/ip_pipeline/cli.c
+++ b/examples/ip_pipeline/cli.c
@@ -4407,7 +4407,6 @@ cmd_pipeline_table_rule_add_default(char **tokens,
size_t out_size)
{
struct table_rule_action action;
- void *data;
char *pipeline_name;
uint32_t table_id;
int status;
@@ -4513,8 +4512,7 @@ cmd_pipeline_table_rule_add_default(char **tokens,
status = pipeline_table_rule_add_default(pipeline_name,
table_id,
- &action,
- &data);
+ &action);
if (status) {
snprintf(out, out_size, MSG_CMD_FAIL, tokens[0]);
return;