From patchwork Tue Sep 8 10:11:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jasvinder Singh X-Patchwork-Id: 6963 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id ABB988E66; Tue, 8 Sep 2015 12:11:35 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 825BB8DB4 for ; Tue, 8 Sep 2015 12:11:31 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 08 Sep 2015 03:11:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,489,1437462000"; d="scan'208";a="764570743" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga001.jf.intel.com with ESMTP; 08 Sep 2015 03:11:29 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id t88ABS9D024438; Tue, 8 Sep 2015 11:11:28 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id t88ABS4C018621; Tue, 8 Sep 2015 11:11:28 +0100 Received: (from jasvinde@localhost) by sivswdev02.ir.intel.com with id t88ABSvI018617; Tue, 8 Sep 2015 11:11:28 +0100 From: Jasvinder Singh To: dev@dpdk.org Date: Tue, 8 Sep 2015 11:11:27 +0100 Message-Id: <1441707088-18563-4-git-send-email-jasvinder.singh@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1441707088-18563-1-git-send-email-jasvinder.singh@intel.com> References: <1441707088-18563-1-git-send-email-jasvinder.singh@intel.com> Subject: [dpdk-dev] [PATCH 3/4] ip_pipeline: modify lpm table for routing pipeline X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The name parameter has been defined in lpm table of routing pipeline. Signed-off-by: Jasvinder Singh --- 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,