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 6CF7AA0093; Wed, 20 May 2020 09:22:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D63A91C1A6; Wed, 20 May 2020 09:22:33 +0200 (CEST) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id CF0A21C19F for ; Wed, 20 May 2020 09:22:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589959351; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VXnTJPGAMOaxO3XLm3ruGMdvN07S2FEMB0SC9zegCcY=; b=Kuf/IBIAUyveewZrFMC+PU9m/6k3YBLnNcGMrkmWR/nlxTnu7CI81glJRlhvN+YDW/RbAL os5AEURQIb54/m7QSiGoaLNib7rTkc4SoVmcBCDF5Hf7lvF/x0hZvteu6Wsa1YeOAg9ouv U1lX0gecRsnMk1bkYhcvh5TxNgO0OeU= Received: from mail-vk1-f200.google.com (mail-vk1-f200.google.com [209.85.221.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-106-eGzN-g2IMdKidDerWH5iCA-1; Wed, 20 May 2020 03:22:27 -0400 X-MC-Unique: eGzN-g2IMdKidDerWH5iCA-1 Received: by mail-vk1-f200.google.com with SMTP id x128so1028988vkd.9 for ; Wed, 20 May 2020 00:22:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VXnTJPGAMOaxO3XLm3ruGMdvN07S2FEMB0SC9zegCcY=; b=srHXZh5C3WF1MMRPh1+DeT6o2tfGK0xfQkk/Gel90eK4+rwXU5mHueFxfysvvdaaAx g3Kih3Fd7VECtHgTO976f/yQgg9wmfNKQsXE0C/gT7+KYmbYvQeMifVhsrvDuLS71WdW OgVBvqEHF69fTL0qJpj4jPz6tYOiW/xvBy2nJUz8g77mB4nhcgqljnOQ/JZNC5Wnm0Fl eHC9cSj/AsvaQJ7mPYRO4yD2tBldyXD0PmsL9jRF5HZypFh+43yk6KA6xAt1otYeKDZk KUOnNS7vGHcMl0yvDIBmNSQkCZBpcgBA8EhRQjGpaexexIqYm7FIUXo7fUZTjTumNENk vpaw== X-Gm-Message-State: AOAM530lMDkWSC7oAZvUFXfJhrmiDrTnlilvTvLu7HHX/+tzGTiWmlW4 zs28Clty90htXgElLQy/jPdqrdlmziMZcCEh1Rfz9uydH60vtqy/X4dQEyb7UEh+5/Vdy4Z1N9A u1Ekr1Tg7ovL3S5zujCI= X-Received: by 2002:a67:7d81:: with SMTP id y123mr2306952vsc.105.1589959346840; Wed, 20 May 2020 00:22:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwP7TcYQwMHnzn66ymVIOrB/RzVY8uQaCK1PLSgtgIYhd5CH45QFOGou6dPAdW8dKe0pZfiR5aQIjovZWm2+9U= X-Received: by 2002:a67:7d81:: with SMTP id y123mr2306944vsc.105.1589959346591; Wed, 20 May 2020 00:22:26 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Marchand Date: Wed, 20 May 2020 09:22:15 +0200 Message-ID: To: oulijun Cc: Van Haaren Harry , dev , "Burakov, Anatoly" , David Hunt , "Pattan, Reshma" X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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" 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. > > 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]# So I understand those traces are for when it works. What about the traces when it does not work? Can you get a backtrace to know where the process is stuck? Thanks for reporting. -- David Marchand