From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] examples/ip_pipeline: check VLAN and MPLS params Date: Tue, 17 Jan 2017 18:27:26 +0100 Message-ID: <17078678.2LBy2XXXT1@xps13> References: <1483912549-170299-1-git-send-email-anand.b.jyoti@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, stephen@networkplumber.org, cristian.dumitrescu@intel.com To: "Jyoti, Anand B" Return-path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id 3DCC411DE for ; Tue, 17 Jan 2017 18:27:28 +0100 (CET) Received: by mail-wm0-f48.google.com with SMTP id c85so209867572wmi.1 for ; Tue, 17 Jan 2017 09:27:28 -0800 (PST) In-Reply-To: <1483912549-170299-1-git-send-email-anand.b.jyoti@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2017-01-09 03:25, Jyoti, Anand B: > This commit add to CLI command check for the following errors > 1. SVLAN and CVLAN IDs greater than 12 bits > 2. MPLS ID greater than 20 bits > 3. max number of supported MPLS labels to avoid array overflow > > It prevents running CLI commands with invalid parameters. > > Signed-off-by: Anand B Jyoti > Acked-by: Cristian Dumitrescu Applied, thanks