[dpdk-dev] [PATCH v2 3/4] ip_pipeline: modify lpm table for routing pipeline

Jasvinder Singh jasvinder.singh at intel.com
Thu Sep 17 18:03:21 CEST 2015


The name parameter has been defined in lpm table of
routing pipeline.

Signed-off-by: Jasvinder Singh <jasvinder.singh at intel.com>
---
 examples/ip_pipeline/pipeline/pipeline_routing_be.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/examples/ip_pipeline/pipeline/pipeline_routing_be.c b/examples/ip_pipeline/pipeline/pipeline_routing_be.c
index 1e817dd..06d3e65 100644
--- a/examples/ip_pipeline/pipeline/pipeline_routing_be.c
+++ b/examples/ip_pipeline/pipeline/pipeline_routing_be.c
@@ -484,6 +484,7 @@ pipeline_routing_init(struct pipeline_params *params,
 	p->n_tables = 1;
 	{
 		struct rte_table_lpm_params table_lpm_params = {
+			.name = p->name,
 			.n_rules = p_rt->n_routes,
 			.entry_unique_size = sizeof(struct routing_table_entry),
 			.offset = p_rt->ip_da_offset,
-- 
2.1.0



More information about the dev mailing list