diff options
author | Jasvinder Singh <jasvinder.singh@intel.com> | 2015-09-17 17:03:20 +0100 |
---|---|---|
committer | Thomas Monjalon <thomas.monjalon@6wind.com> | 2015-10-12 16:04:10 +0200 |
commit | 5aaf45e09a76e7ba5155efcd60ed364b0024f202 (patch) | |
tree | 4b917f2c5c087ee478ca7ae07a883231b4a5c5ff /app/test-pipeline | |
parent | f71c7fc0b9c73ce6e7057bdf5eb1815c1d26e7e8 (diff) |
apps: add name to LPM parameters
LPM table and pipeline apps have been modified to
include name parameter of the lpm table.
Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Diffstat (limited to 'app/test-pipeline')
-rw-r--r-- | app/test-pipeline/pipeline_lpm.c | 1 | ||||
-rw-r--r-- | app/test-pipeline/pipeline_lpm_ipv6.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/app/test-pipeline/pipeline_lpm.c b/app/test-pipeline/pipeline_lpm.c index b1a2c135c6..c03799cf64 100644 --- a/app/test-pipeline/pipeline_lpm.c +++ b/app/test-pipeline/pipeline_lpm.c @@ -112,6 +112,7 @@ app_main_loop_worker_pipeline_lpm(void) { /* Table configuration */ { struct rte_table_lpm_params table_lpm_params = { + .name = "LPM", .n_rules = 1 << 24, .entry_unique_size = sizeof(struct rte_pipeline_table_entry), diff --git a/app/test-pipeline/pipeline_lpm_ipv6.c b/app/test-pipeline/pipeline_lpm_ipv6.c index 3f24a2db4a..02b7a9c839 100644 --- a/app/test-pipeline/pipeline_lpm_ipv6.c +++ b/app/test-pipeline/pipeline_lpm_ipv6.c @@ -113,6 +113,7 @@ app_main_loop_worker_pipeline_lpm_ipv6(void) { /* Table configuration */ { struct rte_table_lpm_ipv6_params table_lpm_ipv6_params = { + .name = "LPM", .n_rules = 1 << 24, .number_tbl8s = 1 << 21, .entry_unique_size = |