From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6D9CEA04EF; Mon, 25 May 2020 12:06:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1272A1D6F1; Mon, 25 May 2020 12:06:32 +0200 (CEST) Received: from mx2.s137.superhost.pl (mx2.s137.superhost.pl [194.169.227.12]) by dpdk.org (Postfix) with ESMTP id DD08F1BE81 for ; Sun, 24 May 2020 20:01:12 +0200 (CEST) Received: from [188.147.97.159] (port=44440 helo=[192.168.8.101]) by s137.superhost.pl with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1jcuvv-0001XS-Oe; Sun, 24 May 2020 20:01:11 +0200 To: Thomas Monjalon Cc: dev@dpdk.org, sarosh.arif@emumba.com, m.bilal@emumba.com References: <20200330141857.4681-1-piotr@dobra.waw.pl> <2085526.rGYoCdkRXg@thomas> From: Piotr Message-ID: Date: Sun, 24 May 2020 20:01:11 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <2085526.rGYoCdkRXg@thomas> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - s137.superhost.pl X-AntiAbuse: Original Domain - dpdk.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tcy.pl X-Get-Message-Sender-Via: s137.superhost.pl: authenticated_id: p@tcy.pl X-Authenticated-Sender: s137.superhost.pl: p@tcy.pl X-Mailman-Approved-At: Mon, 25 May 2020 12:06:31 +0200 Subject: Re: [dpdk-dev] [PATCH] dpdk-setup.sh: Prevent infinite loop, when end of input. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Piotr Sieduszewski List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi The script dpdk-setup.sh was froze wit full cpu usage when EOF input.  For example: dpdk-setup.sh <<< '11' or dpdk-setup.sh < 30/03/2020 16:18, Piotr Sieduszewski: >> From: Piotr Sieduszewski >> >> Signed-off-by: Piotr Sieduszewski > Please add some explanations, it may help getting reviews. > Thanks > >