From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by dpdk.org (Postfix) with ESMTP id E7F095A8A for ; Sat, 21 Mar 2015 00:27:12 +0100 (CET) Received: by wetk59 with SMTP id k59so93114716wet.3 for ; Fri, 20 Mar 2015 16:27:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=f57uzSjMNJ5bE0ovoY1qruRtJ916rhRfizk8zkzeZws=; b=Kt9TpR/mNH0GzUjpNSj4wvW3Hkpg7PcnpmZ6T0QxRwzwxyK7/i3qCM+nslE4HSkcRe ijuP85Fcav/+USdI0jfdvyA46CRAFuetJvEAqmjK6WhJS8ynoTBctXQC3Olm11cipc12 iF6tbOTcziH4Ji8btKRcV1OIw3LT8Xz+nEmvA82tDiRF7LB1pEcmQlolEbQ9j9cQpvcT tOSxyX+K2DtGwb4/dU0qNo3JHBDbOV3Fy2x2gEgA6Ud0xs00+BrBRaTAR+Vj2ZVw+HQo +slfv2HuwO3lyVnZf0vEj2Dfkw+ujMTQXjZq+UqcBTR9CJLguEzLKpSSh4lbC9IhMOsk N3Cg== X-Gm-Message-State: ALoCoQkEctcFg4/6uimsd+u8eAZe1x7SdCLTpOJuZW82G+KbaxTaMUhV+yslduFNbaDjh9SeskyK X-Received: by 10.180.78.202 with SMTP id d10mr246367wix.25.1426894032849; Fri, 20 Mar 2015 16:27:12 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id dn7sm129886wid.12.2015.03.20.16.27.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Mar 2015 16:27:11 -0700 (PDT) From: Thomas Monjalon To: "Liu, Yong" Date: Sat, 21 Mar 2015 00:26:31 +0100 Message-ID: <4035341.PMJpEGS0aj@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: References: <1426214303-12207-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/testpmd: Fix not set need_reconfig flag when port id is RTE_PORT_ALL 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: Fri, 20 Mar 2015 23:27:13 -0000 > > When port id is RTE_PORT_ALL, port_id_is_invalid will also return zero. > > So this function will only set ports[255] need_reconfig flag, other ports will be > > skipped. > > > > Signed-off-by: Marvin liu > > Acked-by: Changchun Ouyang Fixes: edab33b1c01d ("app/testpmd: support port hotplug") Applied, thanks