From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 8CFB47CE1 for ; Mon, 9 Oct 2017 06:57:10 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Oct 2017 21:57:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,498,1500966000"; d="scan'208";a="908032512" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.254.114.24]) ([10.254.114.24]) by FMSMGA003.fm.intel.com with ESMTP; 08 Oct 2017 21:57:09 -0700 From: Ferruh Yigit To: Li Han , jingjing.wu@intel.com Cc: dev@dpdk.org References: <1503378222-23306-1-git-send-email-han.li1@zte.com.cn> <961c9f96-1b02-1c89-9ec5-4c5f3e455b3f@intel.com> Message-ID: Date: Mon, 9 Oct 2017 05:57:09 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <961c9f96-1b02-1c89-9ec5-4c5f3e455b3f@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] app/testpmd:fix invalid port id parameters 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: Mon, 09 Oct 2017 04:57:12 -0000 On 10/9/2017 5:16 AM, Ferruh Yigit wrote: > On 8/22/2017 6:03 AM, Li Han wrote: >> in parse_ringnuma_config/parse_portnuma_config functions,port_id >> should less than RTE_MAX_ETHPORTS,but port_id_is_invalid check >> assumes that port_id may be 255.>> >> Signed-off-by: Li Han > Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/master, thanks. Welcome Li Han! (Fixed mentioned 255 note in commit log while applying, also fixed local port_id storage size while applying)