From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E281741E08; Sun, 12 Mar 2023 22:39:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 968F3427E9; Sun, 12 Mar 2023 22:39:56 +0100 (CET) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mails.dpdk.org (Postfix) with ESMTP id 5E78A427E9 for ; Sun, 12 Mar 2023 22:39:55 +0100 (CET) Received: by mail-pl1-f174.google.com with SMTP id p6so10964335plf.0 for ; Sun, 12 Mar 2023 14:39:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; t=1678657194; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=2hPVVa9TSRHFC0cj9sX7l7O3iY5cLU3lJy8WTxmhHxA=; b=m7enWiUiU4cEyA+39Gq+Nq5qW/zjeO7XeS2f5kdWNfCege+5tGolYpORKlFoUpXb3d eaZEKzZhyZRewC9EXQVj58WiyhfLDXR3gINtHEGkEkPsB4Xfl2/2ndNtmARGuNaUjN3H YN+Vp+rHmxj88vVxHAjI8ttZAqVykeuucW8L7UBaPTLprUrs3sbD7rYyX1NR4NrTgU86 ytIGcktjSb2+pj7OG8q6mOu5paFWqHG9dWoexJXeWM8aiq654i7YM03yLqspTyFXsiZA 7Fszih+P6/CNnB+Z0S1xEpg0ICk0p6qJSFrTlAI0kPZi2NpWqziUae+fTcJyfK6/zoL3 svjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678657194; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2hPVVa9TSRHFC0cj9sX7l7O3iY5cLU3lJy8WTxmhHxA=; b=6sr7VxvSg3vBbDOzxY9kpeJD4KrfAZJGxlNE/vFMSwprAp5HGBDqSOmreANyfH5/mD zzW2pk6Jgzg7lHvbwUCJlud5Kdmk05rU+msEgOeB0bGmHMn+fk0ghgVKKig6FlFVHKXT zEQvd+ImSWgvXxOB1Etd9B/3Swtr0NSVK8il+aZ4XbXacpuIIAmFU8UeYxJgfYxaJyHY DLy+t3bP70Dxr+kBJv7Sl5j2H835e58yopy5604DTliAwgZdjXrjjJoq6FHr1cGGt0Iq Ufo4HHaGPAtkQT36TwLNw6JoXnzOd+8+c0p1pNbDR5sOTDe2kLvEWwdZhkTe+nA5QCgY iIOA== X-Gm-Message-State: AO0yUKV8lBgdQK/ItOr21zQzUI+sRD4og0lRmDidFM2Z9KOr/w1N0tnu U0W0C44mSxbg1KAJFeQhgXmOWKv/c09Bd7Q212BLiQ== X-Google-Smtp-Source: AK7set+6n2qXKq7cJonVlMh3BtsrTacbwy8T9/ch+lKuI4KKvUMgYEBNyg18p7SkW+P2i7CuTMb/9w== X-Received: by 2002:a17:902:d4c3:b0:19c:c184:d211 with SMTP id o3-20020a170902d4c300b0019cc184d211mr39314869plg.37.1678657194262; Sun, 12 Mar 2023 14:39:54 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id a14-20020a170902ecce00b0019aafc42328sm3253383plh.153.2023.03.12.14.39.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Mar 2023 14:39:54 -0700 (PDT) Date: Sun, 12 Mar 2023 14:39:52 -0700 From: Stephen Hemminger To: bugzilla@dpdk.org Cc: dev@dpdk.org Subject: Re: [Bug 1180] TestPMD shell get stuck Message-ID: <20230312143952.248a2fc4@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Sun, 12 Mar 2023 17:09:12 +0000 bugzilla@dpdk.org wrote: > https://bugs.dpdk.org/show_bug.cgi?id=1180 > > Bug ID: 1180 > Summary: TestPMD shell get stuck > Product: DPDK > Version: unspecified > Hardware: x86 > OS: Windows > Status: UNCONFIRMED > Severity: major > Priority: Normal > Component: testpmd > Assignee: dev@dpdk.org > Reporter: pdamouny@nvidia.com > Target Milestone: --- > > from the commit 0fd1386c30c3ad9365d7fdd2829bf7cb2e1b9dff > > when entering testpmd with interactive mode > while writing the shell get stuck and cant enter or CTRL C > IANAW (I am not a Windows Programmer) Is there a way to read from stdin and get interrupted if Ctrl C is hit. On Linux, this requires doing select() then do a read() since the default behaviour is to restart the read() on signal.