From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 3839E606A32D for ; Thu, 3 Dec 2026 10:59:23 +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=Y5q1gm6F; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=WS71UcWZ Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 1A1FF40422; Thu, 3 Dec 2026 10:59:23 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id AfEe3wOAMcD0; Thu, 3 Dec 2026 10:59:22 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp4.osuosl.org 19A8840426 Authentication-Results: smtp4.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=1796295562; b=kX8FTMfwx+BIkHWoNLp2rnYKpysjN5szbXQrh0xpNRDHNc+shbjCWmiQOL6Z4MtF7JN1 4Kions6CZkcO83BGlufGqEhhmqE4+BlM+b4cW4F+hE1ryjUwn3BfoC8ApbY5SJnrOZSV8 vHTDgZowYTmQuhWLYGwIf53UJDq3bR0KAqtP1ywwg0tIhlG8SGpWjo/Pwk8g3QcKw7K0p iNXeppcwKC3gOp1gWKtzgJBPvqVhWYKb3NQ6bS1rytbPJ8PCwOXicDjdQwT1fan8mF/4J sZYo2qCMVqcOK3EQ/qK0l810oQGmesSaPV515c/gWpQcDhSUPsiblIDel+8t/A4yG3Q== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1796295562; 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:Received:Received: Date:From:To:CC:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To: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=UIWA9Oan8o45BeH7O8pbca0XT+VlLeK3pqo4eROl0D8=; b=nEydkz6qDsd/WsxiHvVXPFuVwM7ZdgVQOlCa+RsGqc8qBj3Jzlqbvsa6PHGJ5sDkaM9i i728cXeCkNnfMTLRdS+HUAoqSP7g1cTxP1A/jfhic75aqM/+f47mHtkiUNVie4hXWMhy7 yGGvY77lyi8qUhZqW8xsFxs9jTBInDhFbU4Ut4zKFSrtgPJlhNo+f1aAJQpF0ZYbSHqs2 4jGHcp5/nlntQlOWMahivflDqpORsBYSMcwIi87LdVe1W0CW31VBYXQbFvq6DDIJZMtBe +5FMGjC1iDeDgPmNS1EW09/L80TWDxJGLBGPuYvXLRysV2acCUkItDqoQj0mBPL2c5Q== ARC-Authentication-Results: i=1; smtp4.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=1796295562; bh=UIWA9Oan8o45BeH7O8pbca0XT+VlLeK3pqo4eROl0D8=; h=Date:From:To:CC:Subject:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Y5q1gm6F9UTfzZJWaMefrB2uGp2sqt3/qC6tXe3qfG6WKY514JFG548F5/quqJgOx 4quNKSBpN1fVyX8W5zlZxh8sVNHfNomLYDaoCAvXQnNVPA1yu5+a3QUBtLBhfaOpoG 4jXzKjY/xpRz+EKdz24XWbpS7MMUcGMRa6f+fnDbNzFjnsdQnRLe3+jTPaDNvpJQeY 22sU6H9T/G6I5qsX3bwwglWLJ50cyS2YUQZ8M/DZDhUU8LjxPN+Dl39ulDG6+Y2We/ ENhPFRAJHYZ36M3fnInCsMR+T+pkUYfgDZnjuJBoJrT82IOrHWpUDih45pSJQuxYo9 ExxqrIbN4JYGg== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id 19A8840426; Thu, 3 Dec 2026 10:59:22 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists1.osuosl.org (Postfix) with ESMTP id E13CE3DB for ; Thu, 3 Dec 2026 10:59:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id C78DB409D9 for ; Thu, 3 Dec 2026 10:59:20 +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 Kw9EN9hffH-a for ; Thu, 3 Dec 2026 10:59:19 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp2.osuosl.org 6E982400C7 Authentication-Results: smtp2.osuosl.org; arc=pass header.oldest-pass=0 smtp.remote-ip=198.175.65.14 Received-SPF: None (mailfrom) identity=mailfrom; client-ip=198.175.65.14; helo=mgamail.intel.com; envelope-from=maciej.fijalkowski@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, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=WS71UcWZ Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by smtp2.osuosl.org (Postfix) with ESMTPS id 6E982400C7 for ; Thu, 3 Dec 2026 10:59:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796295560; x=1827831560; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=UIWA9Oan8o45BeH7O8pbca0XT+VlLeK3pqo4eROl0D8=; b=WS71UcWZ/m+nbka1OktBlvPQ+N59a5/etPVMgcohNO950ZlmZdDc0+3F SIR7+wskthvsWf4odSyfbCiUPQtBrHZJ4lLcxgbnXm8o2Trks5Yv/wATk HT4f6pyOIST//7mbyAO/+bJ2GSBt4KuDQZixBrfyfCac1Aar/jpIrx/l2 wIkTliOO2SFln0tdgBSVeuZZAoeMllKZ9gGot18IAfVirwcjpZURYYhaj 5krM2fUpOYrlU/te5vKheWga27d2PAaxnGux43HVpURgtxLlaGptCUkK9 Ogw3M08G5ZFn796rlaoEzzS3JC2ruUOFFTazhlhdKXs6IQ8pBlYZfyAii w==; X-CSE-ConnectionGUID: tUSPtgG9SwKyy4hK0ojYCg== X-CSE-MsgGUID: sKnhOUcwQouLJfAoNjwFCA== X-IronPort-AV: E=McAfee;i="6800,10657,11984"; a="5165192" X-IronPort-AV: E=Sophos;i="6.27,248,1787036400"; d="scan'208";a="5165192" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2026 02:59:18 -0800 X-CSE-ConnectionGUID: FvHleC5AQIaazaH3tSzK4A== X-CSE-MsgGUID: 5HP11LuhRuC0ql47xGrZLQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,248,1787036400"; d="scan'208";a="13857970" Received: from fmsmsx902.amr.corp.intel.com ([10.18.126.91]) by fmviesa005.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2026 02:59:18 -0800 Received: from FMSMSX903.amr.corp.intel.com (10.18.126.92) 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; Thu, 3 Dec 2026 02:59:17 -0800 Received: from fmsedg903.ED.cps.intel.com (10.1.192.145) 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 via Frontend Transport; Thu, 3 Dec 2026 02:59:17 -0800 Received: from CH5PR02CU005.outbound.protection.outlook.com (40.107.200.64) 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.57; Thu, 3 Dec 2026 02:59:17 -0800 Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from LV2PR11MB868673.namprd11.prod.outlook.com (2603:10b6:408:422::13) by DS7PR11MB7690.namprd11.prod.outlook.com (2603:10b6:8:e6::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.12; Thu, 3 Dec 2026 10:59:14 +0000 Received: from LV2PR11MB868673.namprd11.prod.outlook.com ([fe80::5bfd:6afe:a9db:b7de]) by LV2PR11MB868673.namprd11.prod.outlook.com ([fe80::5bfd:6afe:a9db:b7de%4]) with mapi id 15.21.0688.011; Thu, 3 Dec 2026 10:59:14 +0000 Date: Thu, 3 Dec 2026 11:59:03 +0100 From: Maciej Fijalkowski To: CC: Tony Nguyen , Przemek Kitszel , Andrew Lunn , "David S. Miller" , Eric Dumazet , "Jakub Kicinski" , Paolo Abeni , "Alexei Starovoitov" , Daniel Borkmann , "Jesper Dangaard Brouer" , John Fastabend , Stanislav Fomichev , , , , Subject: Re: [PATCH net] i40e: stop XSK queue pairs in VSI shutdown order Message-ID: References: <20261202-b4-i40e-xsk-queue-order-v1-1-737cfb5a0146@boondocker.io> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261202-b4-i40e-xsk-queue-order-v1-1-737cfb5a0146@boondocker.io> X-ClientProxiedBy: DUZPR01CA0247.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b5::17) To LV2PR11MB868673.namprd11.prod.outlook.com (2603:10b6:408:422::13) X-Archived-By: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV2PR11MB868673:EE_|DS7PR11MB7690:EE_ X-MS-Office365-Filtering-Correlation-Id: 8e420a10-6baa-44a0-3e77-08df512c7808 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|366016|1800799024|376014|7416014|23010399003|18002099003|22082099003|10067099003|56012099006|260925022911599003|260925021911599003|260925021311599003|261102123227099003|261028144727099003|261022075727099003|261022105027099003|261021121427099003|261021123027099003|261026121527099003|261026140227099003|261009223027099003|11063799006|6133799003; X-Microsoft-Antispam-Message-Info: O6ptA2AFlmUGzUvDx/AWZf+45dD5wRhCLOrMb/JqQ0B/wxBZ6SzpWACRAQC/OL6JwCqmVuMXeHv9Wbeckdr/2vWNl/rrFOf5FxZUioRJwxdZ3ggZivA3H8rTFtRCYr7sp00YVaUBskT+9XIAohP6zVsM36uJpSmlBmg0xqfHhSOj8x7va6lUaDDeeDPKMPBPp32vsR6jX3MgFh1ZS/k+obyDobWXr2zWaosgUDX+TBL12ey+2Jp8+NqHuv/SlG2Bkyy6pus5d0t1gH4jXt28DQ/oG0mo5OTJrOOY0aDWDfa6FT+3aaZDsWrbP+zwyzM9hR4Mw7soiaf74ir7fqmiH2W8NyuAY2BxCCbW1FpXEmQGNrQvG8zmkAZ6RYWIVTxyIKCzntMwIZi8u9cs7PICfZT9sBR7EdHc5AxAKZnRJg9fYZpgBHrSR4AKVJimOKTp7Twl9cfGqAYfIHmWgXVIhQHlqek1A/vb3iBIUcnKVgd4m63CATfhyOXvLRV9SeLv+pJStfX39UY4M2UDlGFq8pFaxvilDexumwP8BETs28FS28sueDUMoiaHwmChNINO23pbaUhAktMM1lL8hHV8x2s4XJ+H9y7akp1laa7i+SeZ5jrlvQo4uirya1wvqEa2S+UYtB5lR+QhnPekReZQ92bnjRuFUpnbwLEpEgHBtt8= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:LV2PR11MB868673.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(376014)(7416014)(23010399003)(18002099003)(22082099003)(10067099003)(56012099006)(260925022911599003)(260925021911599003)(260925021311599003)(261102123227099003)(261028144727099003)(261022075727099003)(261022105027099003)(261021121427099003)(261021123027099003)(261026121527099003)(261026140227099003)(261009223027099003)(11063799006)(6133799003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?v7a9zLKFH13P15U7GjHYTb88ICrIaocsyHzRftnJ41DSQdWDl6+UMeFHrZr9?= =?us-ascii?Q?H69Uf/p5AcXFt4UH0dsZSDUfd968gwZX+6/VCPnxKOCm8cJY6D7yLRwpv6R9?= =?us-ascii?Q?DZCOtNmktV2frKcwC0GqS1md/1t+N9enIsZTSPIbYi0LDd2if851PYn4zSpW?= =?us-ascii?Q?Q+Mh7cSPeDDGMunR0lHzAnn14lOLugzdLFSojue2Zq/kat57KYHwjETgltvT?= =?us-ascii?Q?S370D2Go0VG5x00HDJFMl8UZAFZkzlrEMznCDFHFhZVbkyqtIPogSUY84Mxc?= =?us-ascii?Q?3iFqL/hA81ng3N3TkTGtOFLvnp+JFTh1QK2kTx0khaUUokjUhfN1ntUwUCeT?= =?us-ascii?Q?KkrjSKR8XBx456/344snuf3IEdMhVDmqRj3UJi9P0CSz7nnQzWbbtLV/+mG1?= =?us-ascii?Q?qMOa0ye/YWW5YIBxf7o0VwDoxNt32agVg1BadEMZyDVVsb21PXZ+mXEkwapL?= =?us-ascii?Q?OKJtytciEJxOSFfov5CdY8qeiuyQ/OjQjJWt3Jz47QB5lChNx/YMw6aec1Am?= =?us-ascii?Q?QozLeyXHD/wvGID2p5r2w18BNI+aqHf+2BPQY1oguTHwUxPSsHngzp4ttkz2?= =?us-ascii?Q?JQQdHHULkQdNT9I9InedUa6/AR+P4yffdlPFu4lo/LbN0ozh9ULnOwmEAVUN?= =?us-ascii?Q?oBFnxM7ArSTNBCvpSb8XmJ6hJYs21aL4RuHukHo2IqyeZHwjAWJSUMeowrZx?= =?us-ascii?Q?0SlZGBbmYL+2LvFJKrHqrBsoubBBUO6FqWTTkv1SsImIlBHlUkenDpFD3cDh?= =?us-ascii?Q?V5q3YViohNmMM8oLq61Sjpj1Wg/H/d9wVCzjf33lCTxoL8okcMKsgCaPyzMS?= =?us-ascii?Q?f0WuMNIf0URIpq+c8rh7B0QotJ+WWDq1RrzfPoBoeO2kJ00siWobWojnF6DH?= =?us-ascii?Q?t4DMTbTm7NDPXcBMNHDs+BVmH4AibHcs47vcqA92izFQYPACi9OZn90A3HvF?= =?us-ascii?Q?fFYlNKc2Fdq74ntNo17ju1DbBkR96gI3Gxw5LSt9Hc8lQ1sDVkb2O2tqelDL?= =?us-ascii?Q?JUjf1ptturIIRPrxPCv4o/47pFY5YVSb3E3LInvoDpf+bE07rzxPJpb2cEXD?= =?us-ascii?Q?+EM4DR61+XnRP8Td6PXlQndxtOErHIxV/kwlWOFr3nBwmCD14X3cLh+3KYZL?= =?us-ascii?Q?zeikE7VB5kYO0U+y1HATdEX3IPHZ8JW5JDH9mq+foAuN3OwMewrNpEMP+6wY?= =?us-ascii?Q?hkagugwbBqU3ljigv2hzbOaMvP+7k9SdiTWYDvJoMDQgs9eYdtIa7h6xqoVZ?= =?us-ascii?Q?/Vq4t4zg8KWGkjcE/fTWl81tih+tarflZbfnBFA8tjys3N4LzyvrvtVlAEQG?= =?us-ascii?Q?GgCGKvjKpDmxCd4tQ15CIGEJmyj+h0gXsL2M9CtfUDSAtYuMo4RhMffLn/sD?= =?us-ascii?Q?INURclqA5H+FL6ybxmSRYaFlUBPadUg+X4UNP1+ZhlTG9t3OIjWEqkj9wMnf?= =?us-ascii?Q?PHcZZTnauuH38v6K+6FZi72XXJzQlJX5Xq4xtP60vJlW2xTRE3N8W+0VI2Q9?= =?us-ascii?Q?Gsvw07OL85FTEkjMaTO0f9QW1VyJ0vEmsc/8oFbO179sS0esyiYGKYDGZ8L3?= =?us-ascii?Q?e9qEnoCrVIThhdtdvs6Ze+HnJVvPv+1UNEH7DiIecXjPuOGtuzwS+x9xcD6S?= =?us-ascii?Q?htqELEI1JhP0O/CcPP+6Mp7f9416dG2FIMxSM0rmyta9vqULpn/iUAD6J8/m?= =?us-ascii?Q?R+trs7Z6/u34zCK4DX3CH6HFwLunx0a22WcDo43amkMsOxexMU/rzKw57pLL?= =?us-ascii?Q?FYnoNQ2VN1Cd1aejexKqAQzu2uWytSY=3D?= X-Exchange-RoutingPolicyChecked: a+XS4SA555l78gSFf7IV3TTccSihTiagHKY0f9AigzyegeglFZY4IwUcN6IqzHR1qkS7JR/0pEBAob0H7u0e0pDHpOvrb4rNpA7YyeKXdufRSiiQeCTs5T3LuYar+M/iQRgffOsnVgwXF9Km0JZu0MQa2c6NBf2GJySaxm6SDyjCewVp04x0zrTwEi4qGjZDPA+FPdx801T6MmReVGtu0JVaHZJgD1uD3y7JX40X0ST1pPp8QwlukFYbsQ0t4ftMH8GNrLrWeDurBUZkNzTPUAPSvKg/FXm54+fBizC4FpK7Bf1PDYZTBvihfqR+UGJJbHLXvfB0mG9WKMfGZg8BjA== X-MS-Exchange-CrossTenant-Network-Message-Id: 8e420a10-6baa-44a0-3e77-08df512c7808 X-MS-Exchange-CrossTenant-AuthSource: LV2PR11MB868673.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Dec 2026 10:59:14.4883 (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: 7iuOgcEKpwAMYTGGF9h10O2apmXxdjxXChBihWBF/Y9logxSABKc1qHo6dJgClp/AYOfzWx0wt7HsyyZTWDl0VmTH4xkjLQ6WIm8yEUSFN8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR11MB7690 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=-15.8 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 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 Wed, Dec 02, 2026 at 10:49:52AM -0700, Matt Thompson via B4 Relay wrote: > From: Matt Thompson > > An AF_XDP zero-copy pool transition on an active X710 can time out > disabling the regular Tx ring. With 12 combined queues and simultaneous > 2048-frame bursts on queues 0 and 11, the original driver reported > "VSI seid 390 Tx ring 11 disable timeout" on the first bind cycle and > networking stopped responding. > > The queue-pair path disables Tx before Rx. The whole-VSI shutdown path > first announces the Tx disable to firmware, disables Rx, waits for the > Rx disable erratum, and then disables both regular and XDP Tx queues. > Use that sequence for a single queue pair as well. Bring Rx up before > Tx on enable, matching the whole-VSI start path. > > On the same X710, the order-only change completed 100 high-volume > AF_XDP setup/teardown cycles at 12 queues without a queue timeout. > > Fixes: 123cecd427b6 ("i40e: added queue pair disable/enable functions") > Cc: stable@vger.kernel.org > Signed-off-by: Matt Thompson Huh, I had a feeling I was fixing that in the past but I apparently the bug report was about pure XDP and I was too lazy to look at AF_XDP behavior ;) > --- > drivers/net/ethernet/intel/i40e/i40e_main.c | 79 ++++++++++++++++------------- > 1 file changed, 45 insertions(+), 34 deletions(-) > > diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c > index abbc71e81..d93023dde 100644 > --- a/drivers/net/ethernet/intel/i40e/i40e_main.c > +++ b/drivers/net/ethernet/intel/i40e/i40e_main.c > @@ -13408,46 +13408,57 @@ static int i40e_queue_pair_toggle_rings(struct i40e_vsi *vsi, int queue_pair, > bool enable) > { > struct i40e_pf *pf = vsi->back; > - int pf_q, ret = 0; > + int pf_q = vsi->base_queue + queue_pair; > + int xdp_q = pf_q + vsi->alloc_queue_pairs; > + bool has_xdp = i40e_enabled_xdp_vsi(vsi); > + int ret; a minor thing is we usually require the Reverse Xmas Tree (RCT) rule which implies ordering local variables by their length (from longest to shortest). > > - pf_q = vsi->base_queue + queue_pair; > - ret = i40e_control_wait_tx_q(vsi->seid, pf, pf_q, > - false /*is xdp*/, enable); > - if (ret) { > - dev_info(&pf->pdev->dev, > - "VSI seid %d Tx ring %d %sable timeout\n", > - vsi->seid, pf_q, (enable ? "en" : "dis")); > - return ret; > - } > + if (!enable) { > + /* Use the same firmware transition as i40e_vsi_stop_rings(). > + * Both TX queues must be announced before RX is stopped. > + */ > + i40e_pre_tx_queue_cfg(&pf->hw, pf_q, false); > + if (has_xdp) > + i40e_pre_tx_queue_cfg(&pf->hw, xdp_q, false); > + i40e_control_rx_q(pf, pf_q, false); > + msleep(I40E_DISABLE_TX_GAP_MSEC); > + wr32(&pf->hw, I40E_QTX_ENA(pf_q), 0); > + if (has_xdp) > + wr32(&pf->hw, I40E_QTX_ENA(xdp_q), 0); > > - i40e_control_rx_q(pf, pf_q, enable); > - ret = i40e_pf_rxq_wait(pf, pf_q, enable); > - if (ret) { > - dev_info(&pf->pdev->dev, > - "VSI seid %d Rx ring %d %sable timeout\n", > - vsi->seid, pf_q, (enable ? "en" : "dis")); > + ret = i40e_pf_txq_wait(pf, pf_q, false); > + if (ret) { > + dev_info(&pf->pdev->dev, > + "VSI seid %d Tx ring %d disable timeout\n", > + vsi->seid, pf_q); > + return ret; > + } > + if (has_xdp) { > + ret = i40e_pf_txq_wait(pf, xdp_q, false); > + if (ret) { > + dev_info(&pf->pdev->dev, > + "VSI seid %d XDP Tx ring %d disable timeout\n", > + vsi->seid, xdp_q); > + return ret; > + } > + } > + ret = i40e_pf_rxq_wait(pf, pf_q, false); > + if (ret) > + dev_info(&pf->pdev->dev, > + "VSI seid %d Rx ring %d disable timeout\n", > + vsi->seid, pf_q); it seems this body is repeated from i40e_vsi_wait_queues_disabled() now. could we pull this out to a routine which disables single queue pair and use it here plus iterate over num_queue_pairs in mentioned function and call it there? Other than that, thanks for fixing this. Also let us see what Sashiko will punch you with, this driver has its issues. However, if sashiko would be unexpectedly calm then I would still vote for going with this refactor even though it is a fix and then I will ack the change. Thanks again! > return ret; > } > > - /* Due to HW errata, on Rx disable only, the register can > - * indicate done before it really is. Needs 50ms to be sure > - */ > - if (!enable) > - mdelay(50); > - > - if (!i40e_enabled_xdp_vsi(vsi)) > + /* The whole-VSI enable path brings RX up before TX. */ > + i40e_control_rx_q(pf, pf_q, true); > + ret = i40e_pf_rxq_wait(pf, pf_q, true); > + if (ret) > return ret; > - > - ret = i40e_control_wait_tx_q(vsi->seid, pf, > - pf_q + vsi->alloc_queue_pairs, > - true /*is xdp*/, enable); > - if (ret) { > - dev_info(&pf->pdev->dev, > - "VSI seid %d XDP Tx ring %d %sable timeout\n", > - vsi->seid, pf_q, (enable ? "en" : "dis")); > - } > - > - return ret; > + ret = i40e_control_wait_tx_q(vsi->seid, pf, pf_q, false, true); > + if (ret || !has_xdp) > + return ret; > + return i40e_control_wait_tx_q(vsi->seid, pf, xdp_q, true, true); > } > > /** > > --- > base-commit: c1c39137dcc3134010566ff29a81c93124efa539 > change-id: 20261202-b4-i40e-xsk-queue-order-0103023207a2 > > Best regards, > -- > Matt Thompson > > >