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 D18E042D94; Fri, 30 Jun 2023 12:04:00 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B9FF2406B6; Fri, 30 Jun 2023 12:04:00 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2072.outbound.protection.outlook.com [40.107.223.72]) by mails.dpdk.org (Postfix) with ESMTP id B3EDF406B5; Fri, 30 Jun 2023 12:03:58 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qus83baHNp7uTJA7YZNWMpUVYqJOc/wlaRaVNKhhAJrP4jgsaZov7RWEzkbZHT0UShjRMYtQVUwXCPQprXedFBZavAIhndVDOcl+HgDjjEnz5DHfbHp17KvRBipyWwneEECdZXLnrfOkJkHaWRMWeY20r70Wrg9KIrENWYwIzHhJM8Hq93nKI71Ck+SdBUWYhk+pQnW1AJ9r0DJPCoRwt7Ke1dFEzz/z3onOMo/poAtPL0c1cLW7BYu2+N8tQtmBVJB7l4vmXhtm1cljpreg2HeodjVYuyfkHpO63oFQi6mLXYG8CBSMOntkKTd7djCZEXtldMLhZTmVDLgbmCV0Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=WXQRRdCkegq5y2nTVmdscoXb60gjLMHAhqInvHD6y4Y=; b=fzhJ8MfmMUtBBve2ZV3iNaRofVflqEQbvDvnuydC3OKCIbrzi0EW02s2yeDLqLQCiNFRnS+VztzYMcV1oViyAWTIKDiGT296G+wKUGg0Zl4MOrxKJxPKtO6N9LJQtOUB+oEIT2tuV/mW1W5vgxfaHyNzIxX7XRlngV3MgjeDol0bCqekBLRpW1XbfqfRbir8KeTgK2Ulo1O8TxDxn97rR20ckfM4z4VhsdAXyg8AJepMDnFCJeKpcjBAE+glwLDkRBH7IrBVowrjVZyt7ByOCDVpEzkO7t/iJ5HELTPR7jqzMsqEfuKdnAtk2CjAYqY8AKMpKiy4uNiihcWp49NlVA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WXQRRdCkegq5y2nTVmdscoXb60gjLMHAhqInvHD6y4Y=; b=AqIgP4WmpNZRSxkVyXCN8Rb/Qhq5SNp8wo7G1tAmq9q1qAp/yNJURI9jGpKdiC1Lr7rNcmtmRVSvDx2qB/MCS8cFZGdd9kQJQuiUDqzr0vlgDPWpvuLIMT2+Cwstbhvupwfzzo+vHaurUxHhIeVB7L2B/dSjoTN4y2cohOp2SJE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by SA1PR12MB8143.namprd12.prod.outlook.com (2603:10b6:806:333::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6544.19; Fri, 30 Jun 2023 10:03:55 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::16e3:326c:5c2a:be42]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::16e3:326c:5c2a:be42%3]) with mapi id 15.20.6544.012; Fri, 30 Jun 2023 10:03:55 +0000 Message-ID: <86a963f0-ad0c-97a5-5b1f-e84f4471b472@amd.com> Date: Fri, 30 Jun 2023 11:03:50 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v2] net/txgbe: fix blocking system events Content-Language: en-US To: Jiawen Wu Cc: stable@dpdk.org, dev@dpdk.org References: <20230629100735.297306-1-jiawenwu@trustnetic.com> <20230630093512.314184-1-jiawenwu@trustnetic.com> From: Ferruh Yigit In-Reply-To: <20230630093512.314184-1-jiawenwu@trustnetic.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0106.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:c::22) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SA1PR12MB8143:EE_ X-MS-Office365-Filtering-Correlation-Id: 09274e5f-d07d-44b4-3168-08db79515098 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IZrbNsz/0hDo08wcXLrL1NYXSZRFImxuuKQRZTj/9l5xLyTqWdgtJjtGE9pHReXKnk+wm7ye/ZlZdpVPpq4mbTGI4wdoVv4mcqv8aHxh+8FnyZSaIh/d0JfXh9II2j29fiuo+npExlJTXU8ewhq/dnzjOyXsPtx3vX2n56nKOBfHP67piNUC5TemCnQGMa0UP9VVHbge0XHJuAtpp/wPM8VDAKEHiBBsSe2YrfHAM1LrMGicDVgLtvpMOHFHofI3LbZatpRc/yEvQ51x+SImKNXIsNuM+uPTvR1ZEFXlHtS1hlhJd8NHAcH47XzI6xLkLaSB3nnzXJtaOgyVz/TgUZB/93ICPbRDNC4yGaSTHlSxvVaVNdCA2ZQJPqTApa3wzfQqt8JXNY2lMiAXuLqAeRx4yy568Ph2wZ8gsDusrgnuEPO/Gjh6wSI0naI3P2FrVoWjyOEZvOJmAowCDtSC6ZX1thufLkqdsxCoHxveLwLODm7zitraX5ZG49R8vci3sqgZiuG5pmTU/opYrHM231zEi5OpF4x7cAKwx02nFJB9lHDOmz6acUjfOuvVNSZnqvCOlbIC4xc+QjAiEnDpkbXsClq3NyKt0wmuWDLwVISCrxjf3wr2EZXKXyHeXX2NBMr91UT7R4AwH1IDcmUh/A== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(376002)(396003)(366004)(136003)(39860400002)(346002)(451199021)(31686004)(86362001)(8936002)(8676002)(5660300002)(31696002)(26005)(6506007)(44832011)(53546011)(6486002)(478600001)(66946007)(66556008)(66476007)(6916009)(4326008)(6512007)(41300700001)(316002)(6666004)(186003)(2616005)(2906002)(4744005)(83380400001)(36756003)(38100700002)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ditqWUk4WlJZclc1YnJlS2dZNVNxRXVzZU0vQzdYblprelRWYWYxcTY4MTRZ?= =?utf-8?B?YUJRVjcybXBNVEY2QU44VkpXVGo5ajlCVmxxb2RXOHhLK2t3RmczMWo0Y28x?= =?utf-8?B?MGljd2Q1RXJoK0QrL0pEQnltUEZqQjFqRk93K0ZrQjNGSThHcmxzVy8ydFFi?= =?utf-8?B?Vjl6bkhDWEpCTWlEbWd5bjluVytCRTlyR3hja2FBSjVpTDVnRk91THM3L1lQ?= =?utf-8?B?YURzL1I1bTJiWFZoamdwaHQ0RXJ3R2FuZUErNS9WQkI4VGFyeXllY0pQN1hi?= =?utf-8?B?MmlWUTByQjRvZDBDamJ6aUxBVStZN1JWZ2pOUndicDUvVDVyUno4VVVuZTZJ?= =?utf-8?B?bDlWRnJyRkRoU3JwYzk4WEtVS2xsV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b4-3168-08db79515098 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jun 2023 10:03:55.7294 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: d2QDa5sNP4wv9UWCR4OSvEeoUifaunjDwApzz9v0fDCsbAL2c5WGnZHFydtkEcsq X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB8143 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 6/30/2023 10:35 AM, Jiawen Wu wrote: > Refer to commit 819d0d1d57f1 ("net/ixgbe: fix blocking system events"). > Fix the same issue as ixgbe. > > TXGBE link status task uses rte alarm thread in old implementation. > Sometime txgbe link status task takes up to 9 seconds. This will > severely affect the rte-alarm-thread dependent tasks in the > system, like interrupt or hotplug event. So replace with an > independent thread which has the same thread affinity settings > as rte interrupt. > > Fixes: 0c061eadec59 ("net/txgbe: add link status change") > Cc: stable@dpdk.org > > Signed-off-by: Jiawen Wu > Applied to dpdk-next-net/main, thanks.