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 C856E41BC0; Fri, 3 Feb 2023 20:14:15 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7F34D42BC9; Fri, 3 Feb 2023 20:14:15 +0100 (CET) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mails.dpdk.org (Postfix) with ESMTP id E437E40DDA for ; Fri, 3 Feb 2023 20:14:13 +0100 (CET) Received: by mail-pf1-f180.google.com with SMTP id z3so4448095pfb.2 for ; Fri, 03 Feb 2023 11:14:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RkkmGT5L0uzsk2SP3GAU548/jYZ6Tn6N08Z5+gleais=; b=gqXx9aD4q3IJEvdCKfVH0Z9gR410FHaLxYp2JHxpcQXo63uhoNAyyel0pug1BIJrPj G6jfKfP3vZ7Z7CYokxJMWveYMPmYaBIC4w/tk3sWV3KjF8DMmZI1armjEdA5gCxDssga KWJwT7FMZnASPC5A7qCW1EVMEVh5GpUcwp5wq+rl+3aTN8jORjYkJIKArJjxUNn7I8/M BGtjRQTaMXnSyWeNv1liklnaFw6nvQyRKgDGZhg/RQ7xb3a4bybs5NkfgNir+SnwRKD5 nHZUVr0Wbfb9/Yu4QujnTFfe1ge8Ei01fYX3uw2aLebhc/ruywkN7CRLZLrnqJa0H7/P jjeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RkkmGT5L0uzsk2SP3GAU548/jYZ6Tn6N08Z5+gleais=; b=Uk9eysKqL2TlcQ67KjiCh+L2X6fTnj9VyWu3OQqZB1zjo3i1IcFIAp7cw3iYMBB6dH u3U15/wqIJIlj6xoGqWDb5PI0NeT1i23ti4ALwtDRV2gL5coFF6nqxke8iob7l+cxeSP uJi9VtVqYncLWSNz5ZqO/kQMWqd9HHxaJXyNki6edsJW5P8jNw9NvJrG78lSFJe6JhVw ncJ0BU23cbIuQj/S/RxN55jeiMgzVtOdHioDsn92JhCGcnzUGqri+CMU121RvcXSgsfo q3tKqRN0Cfcdi6Wh5lOV4AqUrO9RlFbvwZ30Eu384EolNzAReHjc5cu4ThN6ME8RzBVk 1epg== X-Gm-Message-State: AO0yUKU2B3L0gYn3dFC4HY54I8za2FCwffw+zuQQVQWJF6r05e+6RghH VBQrlN6WSv0V4KR+6YSPmXHviOxn/JEGuljthtNn4w== X-Google-Smtp-Source: AK7set/1ubEB0GvMO+I5YZhjrv/mRN+oUCZC5MjOmW6nvs4r2KjTiWE4PMJPvnKypJ/dX2C5A92ZZg== X-Received: by 2002:aa7:91d2:0:b0:581:1c:82a3 with SMTP id z18-20020aa791d2000000b00581001c82a3mr9815614pfa.1.1675451652839; Fri, 03 Feb 2023 11:14:12 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id l9-20020a056a00140900b00593edee1af6sm2200898pfu.67.2023.02.03.11.14.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Feb 2023 11:14:12 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: stable@dpdk.org, Stephen Hemminger Subject: [PATCH v11 0/3] Fix cmdline_poll and testpmd signal handling Date: Fri, 3 Feb 2023 11:14:06 -0800 Message-Id: <20230203191409.97567-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230130200914.22049-1-stephen@networkplumber.org> References: <20230130200914.22049-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 This patchset keeps uncovering bad practices in the cmdline library around end of file and signal handling. Stephen Hemminger (3): cmdline: make rdline status not private cmdline: handle EOF in cmdline_poll testpmd: cleanup cleanly from signal app/test-pmd/cmdline.c | 29 +++++-------- app/test-pmd/testpmd.c | 77 ++++++++++++++++------------------- app/test-pmd/testpmd.h | 1 + lib/cmdline/cmdline.c | 11 +++-- lib/cmdline/cmdline.h | 6 +++ lib/cmdline/cmdline_private.h | 6 --- 6 files changed, 62 insertions(+), 68 deletions(-) -- 2.39.0