From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=F00tU8SMnvhEcttNDmCb+KfmqG0UZcooc+Ia1Hfw1H0=; b=NHV8ZvHkAndptl24QgN1hzbXi62H4srfEJBf4wENPni2ktBZKs1eewhqDtH0mPfr3H rLsvzJhtsBAZ0uXxvSV82VklOh7mvdVfcm/5HvV3dIuErnrqkNKQCr6QRk2R7gC0FhuW shiYPXCSiLVcIPl9IkP1qbj24HSRHHX5+LpUACirZEt0kRQXLVvt5/cj2iXGPjgE7c3y C3+u81mmTBgXAX+8a3YjXKh4Yl5mfpRWOfBCK83iCGTNE/UphXS+tIuaiMkOTowYXLcM nLEvfywx+pB17MbSYohUljTGYa5c7S8TZUloqXFmSqHmkjsX1MEyMt+hFJsE/YnGB8z0 gPcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=F00tU8SMnvhEcttNDmCb+KfmqG0UZcooc+Ia1Hfw1H0=; b=OnM0MLdvGCOjAHB87zdo7Ztz5aW97eruUmBQqvYkQOPwCvFMWgVlOJKGszhSII5MdU zaxwQM/xkmMfOyZVImRLJdGwrbcUwOzO4UCQwGya2OZztHMLXtklrLw1Mf67A0BX1D9e EtlGtk9dwuEX21QSDyjiHtjfBZh1jxfI9ynLCZDWF7Fusnr+DY0DDdClvKcZOtqS+aoK nB4Z0yJCnyx3sML6LCTkfsOKZnMx/r0uyB0eNRFFwbkJZiRqcLbgIZSsKK0PO6Tr8rLp hsZ2+TWNhHOWgfarGlcY6GKZ3ozvsFs43pFZvfv+KVTTAB2Zh6NXXB9xDyb6RJ3RL2RD UlXw== X-Gm-Message-State: AIkVDXJRwRl+VE2vePZx7hyjs1JvYK8N3zLDeW2ega+5C8aO58cAI8EUO34qixII8OlZHgud X-Received: by 10.28.84.88 with SMTP id p24mr16230843wmi.52.1484674047988; Tue, 17 Jan 2017 09:27:27 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id c9sm38010158wmi.16.2017.01.17.09.27.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jan 2017 09:27:27 -0800 (PST) From: Thomas Monjalon To: "Jyoti, Anand B" Cc: dev@dpdk.org, stephen@networkplumber.org, cristian.dumitrescu@intel.com Date: Tue, 17 Jan 2017 18:27:26 +0100 Message-ID: <17078678.2LBy2XXXT1@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1483912549-170299-1-git-send-email-anand.b.jyoti@intel.com> References: <1483912549-170299-1-git-send-email-anand.b.jyoti@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] examples/ip_pipeline: check VLAN and MPLS params X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2017 17:27:28 -0000 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