summaryrefslogtreecommitdiff
path: root/examples/ip_pipeline/cli.c
diff options
context:
space:
mode:
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>2018-10-30 17:45:20 +0000
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>2018-11-02 12:24:51 +0100
commit4c65163ec2466c1ed139553c17f9838a833a6d2f (patch)
treea183600f0d72ab2976e51c51fc41ac6f8abb9ef1 /examples/ip_pipeline/cli.c
parent35c10b587def1cb729954ddb0e96ff09cb230c25 (diff)
downloaddpdk-4c65163ec2466c1ed139553c17f9838a833a6d2f.zip
dpdk-4c65163ec2466c1ed139553c17f9838a833a6d2f.tar.gz
dpdk-4c65163ec2466c1ed139553c17f9838a833a6d2f.tar.xz
examples/ip_pipeline: track table rules on add
Support table rule tracking on table rule add operation. Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com> Signed-off-by: Hongjun Ni <hongjun.ni@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 d1e5540..65600b7 100644
--- a/examples/ip_pipeline/cli.c
+++ b/examples/ip_pipeline/cli.c
@@ -4321,7 +4321,6 @@ cmd_pipeline_table_rule_add(char **tokens,
struct table_rule_match m;
struct table_rule_action a;
char *pipeline_name;
- void *data;
uint32_t table_id, t0, n_tokens_parsed;
int status;
@@ -4379,8 +4378,7 @@ cmd_pipeline_table_rule_add(char **tokens,
return;
}
- status = pipeline_table_rule_add(pipeline_name, table_id,
- &m, &a, &data);
+ status = pipeline_table_rule_add(pipeline_name, table_id, &m, &a);
if (status) {
snprintf(out, out_size, MSG_CMD_FAIL, tokens[0]);
return;