From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 66D4A606A33F for ; Mon, 23 Nov 2026 14:08:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=osuosl.org header.i=@osuosl.org header.a=rsa-sha256 header.s=default header.b=H67biMl0; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=jkmNEQGz; dkim=pass (1024-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=selector1 header.b=ZrFm2XIt Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 4023D60673; Mon, 23 Nov 2026 14:08:19 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id uEn2Dc6ZDSbp; Mon, 23 Nov 2026 14:08:18 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp3.osuosl.org 715AC606B1 Authentication-Results: smtp3.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1795442898; b=K4ZTDJYvzSv0YsMVxmL3SOSo/CnW3y8wk1e7yFNmYzLkzMD7vguZuGtR1XtT6a2G3rOZ m8cfS5JFkQavh3jVCAdpdnkE2v0d9wKrFeZc3uUqK2kQL3qntz2Y+fyReiUHQRa5HBgUm N9hHK7Rz7gggn/PNyCUmjS4Z54QehD5gUVeCQq9lc2hzYS5tp3iciZ3hOnhUIemOFwB3M N/sqfk5QXYiOEhTScijr3uy0EununmjG023J3JYnWw1mNT3qeSBE2ia+xDRDuP050g7zc VzZcPmbW/TSm8cxMrEXshHzJzGwODGiQ0A0uKOpkx/9b88TziucGRM/E8lmG62VMyrg== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1795442898; h=X-Comment:DKIM-Signature:X-Original-To:Delivered-To:Received: Received:X-Virus-Scanned:X-Spam-Flag:X-Spam-Score:X-Spam-Level: X-Spam-Status:Received:ARC-Filter:Received-SPF:Received: DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID:X-IronPort-AV: X-IronPort-AV:Received:X-CSE-ConnectionGUID:X-CSE-MsgGUID:X-ExtLoop1: X-IronPort-AV:Received:Received:Received:Received:DKIM-Signature: Received:Received:Message-ID:Date:User-Agent:Subject:To:CC:References: From:Content-Language:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-ClientProxiedBy:MIME-Version: X-MS-PublicTrafficType:X-MS-TrafficTypeDiagnostic: X-MS-Office365-Filtering-Correlation-Id:X-MS-Exchange-SenderADCheck: X-MS-Exchange-AntiSpam-Relay:X-Microsoft-Antispam: X-Microsoft-Antispam-Message-Info:X-Forefront-Antispam-Report: X-MS-Exchange-AntiSpam-MessageData-ChunkCount: X-MS-Exchange-AntiSpam-MessageData-0:X-Exchange-RoutingPolicyChecked: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-CrossTenant-Id:X-MS-Exchange-CrossTenant-MailboxType: X-MS-Exchange-CrossTenant-UserPrincipalName: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg: X-BeenThere:X-Mailman-Version:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:Errors-To; bh=iqk3WiTQ/4ZDsljcAIcWpLrNT3yJfM9UDyKRglNxchE=; b=Q13A/CvpekJWR47brue9Sr2AmLBh15qeExZCnutSz9l0e8dcqwXQ9CXRRMXAcQbIwbFS aGz17JiMwpnuI2mdPzkLZQtG6G0qduxjSHPHiyxVBHzPYJuEmX0caDlqxLnk9Iw4x2Nhe U6UpuWuCp9guP0D5mUx/XRI10tMubxiBe1OJbZp1QKXSJZp2URwqkP+zJ9tVuW0wn0wGJ cmarvFI5UKW3ziX09jYYDuuFETZAuQI1JnsTVrcywuWshY4bd0eVnTcM09O5VIt35ROUH dL04YKtwHvIz+XwQX1t8kaATFZOmV14VfzBxFtpdZO4qvNRVRVqDbkfyN6F0JGTovag== ARC-Authentication-Results: i=1; smtp3.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1795442898; bh=iqk3WiTQ/4ZDsljcAIcWpLrNT3yJfM9UDyKRglNxchE=; h=Date:Subject:To:CC:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=H67biMl0DIecoEg7wOlUDe7WK8aM0lnoSoMU0fArWoSDkgPw2g9oGAue2j8aW6PoK bFXm33ota62+IMg6Ktxtx9KOdMXQWyQRJ4+++R0sr21vF+qQ7D+BJlBUwZ5TGkjbPO eAK9hRNKtFEec8lT+d0HA7TXGvfVfoUjojZlfk5h/IRuGXKntjYR3ZLbqJ2jwLZHz0 zpj85TKDjiIfma5v5115QyJjSdYWvr78Phklj5FBXP30+0Nhd/KAONBPt64r00ndLz op0Kqvg3W05XxT88RfsDFn6y7PVYbmb+khNBCoK9XQ/uWx71FvSSF5cSfNiW1OCzt1 m8nZUYbAXPG5g== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id 715AC606B1; Mon, 23 Nov 2026 14:08:18 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists1.osuosl.org (Postfix) with ESMTP id 98E2D371 for ; Mon, 23 Nov 2026 14:08:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 7E4AE4018C for ; Mon, 23 Nov 2026 14:08:17 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Gy04OMUrjxOp for ; Mon, 23 Nov 2026 14:08:16 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp2.osuosl.org 4FBD0400BD Authentication-Results: smtp2.osuosl.org; arc=pass header.oldest-pass=0 smtp.remote-ip=198.175.65.15 Received-SPF: None (mailfrom) identity=mailfrom; client-ip=198.175.65.15; helo=mgamail.intel.com; envelope-from=przemyslaw.kitszel@intel.com; receiver= Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=jkmNEQGz; dkim=pass (1024-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=selector1 header.b=ZrFm2XIt Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) by smtp2.osuosl.org (Postfix) with ESMTPS id 4FBD0400BD for ; Mon, 23 Nov 2026 14:08:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1795442896; x=1826978896; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=xceEmdoPPe7i7wduNUSahVI/RwzMVLGEoNbUO8ZL3Hs=; b=jkmNEQGzpFx/Use34ZW/mU9Hje9JyLHlwMcougfXKb4zdnl/vLTlmkPr HVyg5wPuKisDtKYbt50fOP1WiuOKvsGotqjHlUTUZ5GIcClG/yj2WJdPf qyCHDU5AqJGhvBYKpOd6iRer4UECmA2wfHXEcmnXv4f5nW1CK501WqyDn jVJkxGWO3aRXY7+IWAd8ZLirAixPTdlyVLLn4HMq//G5zw4ZAFfFa46Mi N6G854wKwAfi8efEhPDce6wpqkL4kWF5WBg4YxpG6lqji1M5wNisAukBy I9zGbzyHzrO/Zbm4UeCMVwUYUfv9XWcV4d9WjAv3IuGMa/boKqKBzUQ5o A==; X-CSE-ConnectionGUID: TWIt+SXQSxask4fMrJEWPw== X-CSE-MsgGUID: PAa57X9WRXmX5y+rrcmOTA== X-IronPort-AV: E=McAfee;i="6800,10657,11975"; a="4261632" X-IronPort-AV: E=Sophos;i="6.27,227,1787036400"; d="scan'208";a="4261632" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2026 06:08:01 -0800 X-CSE-ConnectionGUID: bb0viXNxTEKPX0sRnamMeg== X-CSE-MsgGUID: 5k5cw/ScTI+3sWXwV1hYvQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,227,1787036400"; d="scan'208";a="11389041" Received: from fmsmsx903.amr.corp.intel.com ([10.18.126.92]) by orviesa001.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2026 06:08:01 -0800 Received: from FMSMSX902.amr.corp.intel.com (10.18.126.91) by fmsmsx903.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Mon, 23 Nov 2026 06:08:00 -0800 Received: from fmsedg903.ED.cps.intel.com (10.1.192.145) by FMSMSX902.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57 via Frontend Transport; Mon, 23 Nov 2026 06:08:00 -0800 Received: from SA9PR02CU001.outbound.protection.outlook.com (40.93.196.33) by edgegateway.intel.com (192.55.55.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Mon, 23 Nov 2026 06:07:58 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iqk3WiTQ/4ZDsljcAIcWpLrNT3yJfM9UDyKRglNxchE=; b=ZrFm2XIte3lQkF0XRC/zvHtCs969BqT3ooZTE9Zb6PpANN3TC0BYVoGhzB9jJYpfdYMB/HhPTlEbhFrPRPlT9/KGEP4TsIZkrLojFV9jd9WdpBcyxHwv1Xa6vmkBdWuMIf9op018Pc51nbBr95dY1ygLzq/NJ/3eSYzQIMKGXA0= Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from LV3PR11MB8508.namprd11.prod.outlook.com (2603:10b6:408:1b4::8) by SA1PR11MB8860.namprd11.prod.outlook.com (2603:10b6:806:468::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.639.12; Mon, 23 Nov 2026 14:07:56 +0000 Received: from LV3PR11MB8508.namprd11.prod.outlook.com ([fe80::a1e8:1786:e5d1:8e51]) by LV3PR11MB8508.namprd11.prod.outlook.com ([fe80::a1e8:1786:e5d1:8e51%5]) with mapi id 15.21.0639.011; Mon, 23 Nov 2026 14:07:56 +0000 Message-ID: Date: Mon, 23 Nov 2026 15:15:19 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH iwl-net] ice: release IRQs and rings in ice_dis_vsi() when the VSI is already down To: "Ionut Nechita (Wind River)" , , Tony Nguyen CC: , , Larysa Zaremba , Maciej Fijalkowski , Jacob Keller , Wojciech Drewek , Andrew Lunn , "David S . Miller" , "Eric Dumazet" , Jakub Kicinski , Paolo Abeni References: <20261106171657.583713-1-ionut.nechita@windriver.com> From: Przemek Kitszel Content-Language: en-US In-Reply-To: <20261106171657.583713-1-ionut.nechita@windriver.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: AM0PR02CA0174.eurprd02.prod.outlook.com (2603:10a6:20b:28e::11) To LV3PR11MB8508.namprd11.prod.outlook.com (2603:10b6:408:1b4::8) X-Archived-By: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV3PR11MB8508:EE_|SA1PR11MB8860:EE_ X-MS-Office365-Filtering-Correlation-Id: b9eb4ee1-e12b-4779-ef1e-08df496b2c15 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|366016|23010399003|1800799024|6133799003|18002099003|22082099003|261009223027099003|56012099006|11063799006|261022075727099003|10067099003|261102123227099003|261026121527099003|261026140227099003|261022105027099003|261028144727099003|261021135927099003|261021121427099003|261021123027099003; X-Microsoft-Antispam-Message-Info: Y3LWCwMCnvfHGroPUxlarn+JNE7/LrUoJULhQt3lAOgMg8fgVOGSE1TaUUmbUqCm7W9gA+PVfU9K/bA5yHtL8LbFrfainbuFVwfNVyPqPfqTej41zjlLwkPCwZJ3hE8/nuV8FxODsRWFZkZgJfUJXBZO2VaRE+i2FBfJvnhG+LMuy33oFKdMRcWBhqPbHRXLw9lEUcIHM57+5dSOfH1iUynjW/OhRTAcAPtcd+IGFoJRwkA7nyxO5SIZ7DiJbzrHu/jBlh/Z/ynNINBCx/hnamcc7GEZb6TH0a3nbnsHt0ECIwb+pCzc/40v0nMxGJc2NdvyaZvsAa/zVoBgbFttitnDuv8fLEWbpi96joY5VY29dd1shH67xlLelXGUl7tbfyWKe/9D42HUyNJWC+I8O7oP6o/T6h+BzNIK4cIQCzVvmuonjU6AcvuvX1QRXJ25xSAq5tsAh1kavFwmypFPUZGCO0vlgoTmDDjemk5veqXo+HJtAPIhzvxWE7uusbkN98/khcIBpn2mZf9qdZ0W1S/2dtWFWvnCoNvyYDfUBapoyAZfTIgakJDOqmjnEhlUMpMBFkBisIqgfeogqKlyLmsLi69dOjM/We8Mi76wJfQGv86pDQ8M7ZpxEAxZNWPUE99c5DVutwyGoNg5fmLY3ur6F5LX5GhUTu3O3lzEuk4= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:LV3PR11MB8508.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(366016)(23010399003)(1800799024)(6133799003)(18002099003)(22082099003)(261009223027099003)(56012099006)(11063799006)(261022075727099003)(10067099003)(261102123227099003)(261026121527099003)(261026140227099003)(261022105027099003)(261028144727099003)(261021135927099003)(261021121427099003)(261021123027099003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZE5iN1JYZ2tudFdRNkRJdFllMkU2NXpETzJXRFBCMmZ1VjNFaVBacnNzZWtJ?= =?utf-8?B?bUFUeXJWS1g4a0prWGhDZzBLTHNsVEUrbkt0bDVha2o0Ukx0aWtnaVh5Qmw3?= =?utf-8?B?cVp3TGZzSnNzUnorV1RDYjdVYVJ0eU1GS1Uwc09YcUNybUc2cmYraXQ5SkZy?= =?utf-8?B?dDUvM1ZQUS9GYkM4M1hzaUJEVEk0WGVMUWYvbTFiemxyUGl5L3o5anJrWjVm?= =?utf-8?B?SUs1M1RzRjFWanNZZUVYcEpqbXZ3ZmVGcTVQV1JBN1VyQkpkOXY0MVpUUDMw?= =?utf-8?B?cTY0bnp4elA5MjdKd2ZTLzJFRElmckhBdnRYYWhtTWNvVnc0QTZKSVRtWjcx?= =?utf-8?B?eThvNXY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1pCcHB0QllpM0Q2TGpG?= =?utf-8?B?SmlEdWVlQ3RSTGpVSmxBa0NxbmZaZVRzQUhHeU5yc2NCQ0lPaXVhRDVpdlB6?= =?utf-8?B?Y3JQUzFvM1dGYUJLelkwRFJrVkhHNTJNalh2eXlXcnhCZHNDY01STURuU2tn?= =?utf-8?B?R0NTRWlLdEl6ZTM3azhpMU5hNUJLbjVzN3NDQnc1VEFhOXFpZmNVRDd5WjZn?= =?utf-8?Q?S4tYqN0ThskgBL+M=3D?= X-Exchange-RoutingPolicyChecked: aB6l/4FdEWwqVr/GP6j3wONWnJsaEwq+1OKeSwCggkuyEyh3JrxCrVn9XL59KVzLcRJMZtPhHT++57wXTh/JlJsD8X6PRWSUaODNn6rbuUSptW/V+XB8XdvmcVnBOfjBYefNnZ5lHXJOY3divV49uQevbNOj9XxKtQi/KHrsH9yIopOo9w4ys98d4SyQOW/IBpStEICA4nhXL4B7mALqrPR8rWCxaXgBuQcoKSJgMC9cu5ctiO75ruX4OdRBLeG0s1Yt0ZcxGgBt27cD6nN6O7oJrNlcmmYRybOC3nIqHC4KpdlLtP+Ig5vo68AEnQCNJ4qosdW1hf09i4tqhEbh/g== X-MS-Exchange-CrossTenant-Network-Message-Id: b9eb4ee1-e12b-4779-ef1e-08df496b2c15 X-MS-Exchange-CrossTenant-AuthSource: LV3PR11MB8508.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Nov 2026 14:07:56.2460 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: SZcBwcVZXlUU3mrUjyGUM7PTm2fLT4iUpIbVu2ipR2uTqUl8e7BKZAC9qZKOJH5pr7FKn1pPVakAFiM3IYu4Gq4Su+LYtuZwnlRunJwo6LI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB8860 X-OriginatorOrg: intel.com X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_NONE,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On 11/6/26 6:16 PM, Ionut Nechita (Wind River) wrote: > From: Ionut Nechita > > Since commit d8c40b9d3a6c ("ice: check ICE_VSI_DOWN under rtnl_lock when > preparing for reset"), ice_dis_vsi() sets ICE_VSI_NEEDS_RESTART > unconditionally, but still skips ice_vsi_close() when ICE_VSI_DOWN is > already set. For a running netdev, ice_ena_vsi() then calls > ice_open_internal() -> ice_vsi_open(), which does a full open: it sets > up the rings and requests the IRQs again. > > A running netdev with ICE_VSI_DOWN set is not always a closed VSI. > ice_down() only cleans the rings. It keeps the ring memory and the IRQs > so that ice_up() can restart the VSI quickly. If the restart fails, the > VSI stays in that state while the netdev is still running, for example: > > - ice_down_up(), when ice_down() or ice_up() fails (the latter also > via ice_change_mtu()); > - ice_xdp_setup_prog(), when ice_down() fails. > > If ice_dis_vsi()/ice_ena_vsi() are called on such a VSI without an > ice_vsi_rebuild() in between, which is the case for the DCB > reconfiguration in ice_pf_dcb_cfg() and > ice_dcb_process_lldp_set_mib_change(), ice_vsi_open() runs on rings and > IRQs that were never released: > > - ice_setup_tx_ring() hits WARN_ON(tx_ring->tx_buf) and overwrites > tx_buf and desc, leaking the previous arrays; > - ice_setup_rx_ring() overwrites desc, leaking the previous descriptor > memory; > - ice_vsi_req_irq_msix() requests the PF vectors again without > IRQF_SHARED and fails with -EBUSY, so the open fails and the > interface stays down until it is closed and opened again. > > On the reset and mqprio paths, ice_vsi_rebuild() frees the ring > structures in between, so there is no WARN, but the ring memory still > held by them is not released until the device is unbound. > > Call ice_vsi_close() unconditionally for a running netdev, under > rtnl_lock. ice_vsi_close() already handles a VSI that is down: it only > calls ice_down() if ICE_VSI_DOWN was not set, ice_vsi_free_irq() returns > early when the IRQs are not requested, and ice_vsi_free_{tx,rx}_rings() > only free rings that have a descriptor ring. This is also what > ice_stop() does for a VSI in this state. The race fixed by the commit > above does not come back: ICE_VSI_DOWN is still tested, by > ice_vsi_close(), under rtnl_lock. > > The non-running and ICE_VSI_CTRL branches are left as they are. In both > cases ice_ena_vsi() either does not reopen the VSI or, for the control > VSI, the only paths that set ICE_VSI_DOWN also release its rings and > IRQs. > > Fixes: d8c40b9d3a6c ("ice: check ICE_VSI_DOWN under rtnl_lock when preparing for reset") > Assisted-by: Claude:claude-opus-5.5 this tag is overly specific, please just use "Assisted-by: LLM" > Signed-off-by: Ionut Nechita > --- > Found while chasing the same WARN_ON() in ice_setup_{rx,tx}_ring() with > the out-of-tree ice driver on an E830 port without a module installed, > where ice_vsi_cfg_lan() fails and ice_dis_vsi()/ice_ena_vsi() then > reopen a VSI that ice_down() left with its rings allocated. The > in-tree paths above were found by code reading. thank you for working on that, and its nice to see that the problem comes from an actual usage (instead of plain AI hunting) > > Based on net (f66469d9905b, "Merge tag 'net-7.4-rc2'"). > Tested: build only (W=1, no new warnings). > > drivers/net/ethernet/intel/ice/ice_lib.c | 11 ++++++++--- > 1 file changed, 8 insertions(+), 3 deletions(-) > > diff --git a/drivers/net/ethernet/intel/ice/ice_lib.c b/drivers/net/ethernet/intel/ice/ice_lib.c > index 7cd2dd066ef5e..0421b0738abd1 100644 > --- a/drivers/net/ethernet/intel/ice/ice_lib.c > +++ b/drivers/net/ethernet/intel/ice/ice_lib.c > @@ -2852,9 +2852,14 @@ void ice_dis_vsi(struct ice_vsi *vsi, bool locked) > if (netif_running(vsi->netdev)) { > if (!locked) > rtnl_lock(); > - already_down = test_bit(ICE_VSI_DOWN, vsi->state); > - if (!already_down) > - ice_vsi_close(vsi); > + /* ice_ena_vsi() will reopen the VSI with > + * ice_open_internal(), so release IRQs and rings even > + * if the VSI is already down: ice_down() keeps both, > + * and a failed restart (e.g. in ice_down_up()) leaves > + * the VSI in that state. ice_vsi_close() skips > + * ice_down() when ICE_VSI_DOWN is already set. > + */ this comment is too verbose, and you have already provided the same via commit msg, so either make it really short or just drop > + ice_vsi_close(vsi); > > if (!locked) > rtnl_unlock();