From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by dpdk.org (Postfix) with ESMTP id 8B5BB5A6D for ; Wed, 11 Mar 2015 16:03:35 +0100 (CET) Received: by widfb4 with SMTP id fb4so27837012wid.0 for ; Wed, 11 Mar 2015 08:03:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=z1MdndFAl+wMzs1/iP45RdJlu/lD/RxD5mNh0yrrTuc=; b=T4am/A6nhujpKLEhx14K6AlnMENPD5YdgkjFtLTuYrFA3G0M7hu/INxWV/60/rRZQ9 cn5oUyuOoIfNLvONO24f/5ZQD9GI7o5f39f4aIKHR8IrHkiJaX2f33tC6Yky1Jw1w8Lk LKadEztmyaRyQAtKyHon7FW38CB3MLuyoucMHGSvDZ4jBNbgfBUHojlKbI53QY03mx20 17Tn4KxsOxWEQIIsMNzhBLfKVeYNtijMgjB0NVYmCgHthUeOFHUw2hRxL3TWvTKdmI5y OClo1gNawfux4BGD2Ub6FNDuBoW5WmqZjgRbxvdHa5tMCMRcYjLQ48+zeejWVb9vnYJU ClEA== X-Gm-Message-State: ALoCoQn3xvDbAEaBrH3JaEms921K2z2oy6jbtM1MRHrED9wNG/W4H+1TkztQKkjHRp1h3vqTq1a6 X-Received: by 10.180.91.79 with SMTP id cc15mr111065656wib.37.1426086215457; Wed, 11 Mar 2015 08:03:35 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id cj9sm5772938wjc.42.2015.03.11.08.03.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Mar 2015 08:03:34 -0700 (PDT) Date: Wed, 11 Mar 2015 08:03:34 -0700 (PDT) X-Google-Original-Date: Wed, 11 Mar 2015 16:03 +0100 From: Thomas Monjalon To: Yong Liu Message-ID: <4797730.8kfFYVQBVd@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: <1426058590-15180-1-git-send-email-yong.liu@intel.com> References: <1426058590-15180-1-git-send-email-yong.liu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] app/test-pmd: fix incorrect port number check 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: , X-List-Received-Date: Wed, 11 Mar 2015 15:03:35 -0000 2015-03-11 15:23, Yong Liu: > testpmd parameter "nb-port" mean the number of forwarding port. > It's incorrect to use function port_id_is_invalid to check number of ports. > > Signed-off-by: Marvin Liu Acked-by: Thomas Monjalon Fixes: edab33b1c01d ("app/testpmd: support port hotplug") Applied, thanks