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 18424A0093; Fri, 22 May 2020 11:02:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B6E9D1D926; Fri, 22 May 2020 11:02:38 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 98C761D91B for ; Fri, 22 May 2020 11:02:37 +0200 (CEST) IronPort-SDR: Cq6eSOK0gqetqhHbITtXKIMlU4v0qgvzJq0XR3t1RzRUphycPb7CJsBK+TcuKQLL/7IGcCfy4T mbDOxRu8WBAQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 May 2020 02:02:36 -0700 IronPort-SDR: XdgSUyEvIqMa4KGhSD1WnG0dhrj2/+B3TDbjwONxFRROiqIcj+8BT8qcasLjNRTxYPmaEvb3jx MuO6jwwfYdOA== X-IronPort-AV: E=Sophos;i="5.73,421,1583222400"; d="scan'208,217";a="440790806" Received: from dhunt5-mobl5.ger.corp.intel.com (HELO [10.213.194.171]) ([10.213.194.171]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 May 2020 02:02:35 -0700 To: oulijun , David Marchand Cc: Van Haaren Harry , dev , "Burakov, Anatoly" , "Pattan, Reshma" References: From: "Hunt, David" Message-ID: <3aeeb17b-66d0-cf87-df3a-0e2c313ba9ee@intel.com> Date: Fri, 22 May 2020 10:02:33 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] =?utf-8?b?44CQQlVHIFJFUE9SVOOAkWwzZndkLXBvd2VyIGNhbiBu?= =?utf-8?q?ot_exit_by_ctrl+c?= X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 22/5/2020 9:17 AM, oulijun wrote: > > > 在 2020/5/20 15:22, David Marchand 写道: >> Hello, >> >> On Wed, May 20, 2020 at 5:18 AM oulijun wrote: >>>      I am using 20.05-rc2 version to test based on HNS3 NIC >>> hardware, and >>> found that after starting l3fwd-power, >>> >>> using ctrl+c cannot force quit. But I revert the patch(33666b4 service: >>> fix crash on exit) and it is ok. >> >> We had a fix in rc1 that is supposed to fix this. >> https://git.dpdk.org/dpdk/commit?id=613ce6691c0d5ac0f99d7995f1e8e4ac86643882 >> >> >> Copying Anatoly and David H. too. >> > Hi, David Marchand >    I am only merged the patch(examples/l3fwd-power: implement proper > shutdown) based on 20.05-rc0 and test. the bug is not resolved. > Can you provide me with complete solution?  I want to understand the > cause of the whole problem > Hi Lijun,     The complete solution is to use a version with all of the fixes, as Anatoly suggested previously. I have just checked out the latest tip of the master branch, and l3fwd-power exits gracefully with a single CTRL-C: ... Checking link statusdone Port 0 Link Up - speed 100000 Mbps - full-duplex L3FWD_POWER: entering main loop on lcore 27 L3FWD_POWER:  -- lcoreid=27 portid=0 rxqueueid=0 L3FWD_POWER: lcore 26 has nothing to do L3FWD_POWER: lcore 27 sleeps until interrupt triggers *^C*POWER: Power management governor of lcore 26 has been set back to  successfully POWER: Power management of lcore 26 has exited from 'performance' mode and been set back to the original POWER: Power management governor of lcore 27 has been set back to successfully POWER: Power management of lcore 27 has exited from 'performance' mode and been set back to the original # Rgds, Dave.