Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1BB05C433DF for ; Wed, 20 May 2020 03:18:22 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 24558204EF for ; Wed, 20 May 2020 03:18:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 24558204EF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5E60A1D15A; Wed, 20 May 2020 05:18:15 +0200 (CEST) Received: from huawei.com (szxga05-in.huawei.com [45.249.212.191]) by dpdk.org (Postfix) with ESMTP id D54DB1C031 for ; Wed, 20 May 2020 05:18:13 +0200 (CEST) Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 409E47A3ACA6D00EAB38; Wed, 20 May 2020 11:18:12 +0800 (CST) Received: from [127.0.0.1] (10.67.103.119) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.487.0; Wed, 20 May 2020 11:18:10 +0800 From: oulijun To: , CC: Message-ID: Date: Wed, 20 May 2020 11:18:06 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.103.119] X-CFilter-Loop: Reflected Subject: [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" Hi, David Marchand && guys 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. the log as follows: Initializing rx queues on lcore 26 ... Initializing rx queues on lcore 27 ... rxq=0,0,0 Port 0: softly parse packet type info Checking link status...............0000:7d:00.1 hns3_update_link_status(): Link status change to up! done Port 0 Link Up - speed 25000 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 L3FWD_POWER: lcore 27 is waked up from rx interrupt on port 0 queue 0 L3FWD_POWER: lcore 27 sleeps until interrupt triggers L3FWD_POWER: lcore 27 is waked up from rx interrupt on port 0 queue 0 L3FWD_POWER: lcore 27 sleeps until interrupt triggers L3FWD_POWER: lcore 27 is waked up from rx interrupt on port 0 queue 0 L3FWD_POWER: lcore 27 sleeps until interrupt triggers L3FWD_POWER: lcore 27 is waked up from rx interrupt on port 0 queue 0 L3FWD_POWER: lcore 27 sleeps until interrupt triggers L3FWD_POWER: lcore 27 is waked up from rx interrupt on port 0 queue 0 L3FWD_POWER: lcore 27 sleeps until interrupt triggers L3FWD_POWER: lcore 27 is waked up from rx interrupt on port 0 queue 0 L3FWD_POWER: lcore 27 sleeps until interrupt triggers L3FWD_POWER: lcore 27 is waked up from rx interrupt on port 0 queue 0 L3FWD_POWER: lcore 27 sleeps until interrupt triggers L3FWD_POWER: lcore 27 is waked up from rx interrupt on port 0 queue 0 L3FWD_POWER: lcore 27 sleeps until interrupt triggers L3FWD_POWER: lcore 27 is waked up from rx interrupt on port 0 queue 0 L3FWD_POWER: lcore 27 sleeps until interrupt triggers L3FWD_POWER: lcore 27 is waked up from rx interrupt on port 0 queue 0 L3FWD_POWER: lcore 27 sleeps until interrupt triggers L3FWD_POWER: lcore 27 is waked up from rx interrupt on port 0 queue 0 L3FWD_POWER: lcore 27 sleeps until interrupt triggers ^CPOWER: Power management governor of lcore 26 has been set back to successfully POWER: Power management of lcore 26 has exited from 'userspace' 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 'userspace' mode and been set back to the original 0000:7d:00.1 hns3_dev_close(): Close port 0 finished User forced exit [root@centos-C3 build]# Thanks Lijun Ou