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 15951A00C4; Sun, 6 Nov 2022 11:50:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0742340691; Sun, 6 Nov 2022 11:50:38 +0100 (CET) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id B8A234003C for ; Sun, 6 Nov 2022 11:50:36 +0100 (CET) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 562C862; Sun, 6 Nov 2022 13:50:36 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 562C862 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1667731836; bh=0YOKnGE+BM9+Ycc+r2PH+7PwLbhfYbb0b0xpPjDVMRk=; h=Date:Subject:To:References:From:In-Reply-To:From; b=UJ5x28BGZH0bmbAQkJhJATIlJfut2Pha1fxNICU5KDIaDqrw3N7IWOOaAAJ4+g7Bi et9TNfhop0IivCekjkFZmUXeKjmuScW4F8kLw9X5XiOcc6OcQjWgvNs6ZwwVDY+Fu9 3oSwB+9Ocy9bgBWl6n66NzF0GcUcgBeGvJH1oAFo= Message-ID: Date: Sun, 6 Nov 2022 13:50:36 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [RFC 2/2] testpmd: cleanup cleanly from signal Content-Language: en-US To: Stephen Hemminger , dev@dpdk.org References: <20221014172328.185219-1-stephen@networkplumber.org> <20221014172328.185219-2-stephen@networkplumber.org> From: Andrew Rybchenko Organization: OKTET Labs In-Reply-To: <20221014172328.185219-2-stephen@networkplumber.org> Content-Type: text/plain; charset=UTF-8; format=flowed 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 10/14/22 20:23, Stephen Hemminger wrote: > The original behavior of testpmd was to kill itself when > it received a SIGINT or SIGTERM. This makes it hard to use > testpmd in test automation where forwarding loop is started > and then stopped via SIGTERM. Can automatic stop it using SIGINT? > > Signed-off-by: Stephen Hemminger [snip]