From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A185729992A for ; Fri, 6 Mar 2026 00:32:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772757141; cv=none; b=YW9JAUrM+ci32MCg21gxgCePyjZ/N62oZIihi5ungUbQ7BKKUZ1TWP+MDOLDzFsvsebsXp2BZDYMN6JCG1V0DIoe8WCm7UVG7dj9g1kMlvvQP5JHvuHohjK7pFP9KwYgwSuiwbsxuvsD/z6IhSmEFIpBrSrWYoMQYY79+QWalls= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772757141; c=relaxed/simple; bh=nmQHG+4AnyrSSsTzc8B4eGsexpvES3uR3ESxYjP8gGM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NR+Xya+zlhDNzKNl6tcUhvFGNMrMFnxNlJd3vKBZdmGznYzYFwVndDIiB+aoRPxAy6uxH3K9Dkkqhm5470mzrx+J0zyXxC69kiHvjq0bx4YzWC72re8mfOUvBVC0v1XWGf1r7O1IfBZDi3H5l3+99SLzgB0PGzVXLOMREEGy/Bo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca; spf=pass smtp.mailfrom=ziepe.ca; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b=lW9bcmfJ; arc=none smtp.client-ip=209.85.222.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="lW9bcmfJ" Received: by mail-qk1-f178.google.com with SMTP id af79cd13be357-8cb39647a70so834460085a.0 for ; Thu, 05 Mar 2026 16:32:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1772757139; x=1773361939; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=KCNCS1facBK4msNGTEPROi9xyZQiv1TuHRy7zkEiK2Y=; b=lW9bcmfJOXRcl1wLtmCzgwKLXB+GRjOQIl2x5BbvMWyQIijxXPUN4kLyDZOoSxNX/V Ksx1lrWzGYrUXYtsOsDLHaedA9O5tuL5Oq7bDCmBbA47aMv4EZp7gJ+LpiEeSS/FnAHa 4SHX0eob9JE57WZ7+wxhAvV84oD5JLkg9tFNr0p6uJkn6xvxPiMOugeD0Hfe1BssdR6g Mtb8LWj/qlHrCCjTIfg7Zo5zb4KJgdasWsAM74OrjaQGMle+66hOijYy3N7bf+cMKrn6 PtM5ESg0RoWtrPXIYOP144yeOS0MWKnv87rARYDnHEVHInt/Vr1ir8miul+Iz5tl41AC VmHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772757139; x=1773361939; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KCNCS1facBK4msNGTEPROi9xyZQiv1TuHRy7zkEiK2Y=; b=mTjIO/bDyr5Qq4YIjqkizu0AY1LD6q7UcbAEVAnf5M4G3eQLDEq0rphAmkV3NmcL2w 6d/OIn6RWa/tNShoRtwu02tO1tziL3MkwMb5lh1tzDXTy6vAGnd1O+BBydm3qF6eZJBc 9T1Nnu526sZeVS+Cad1tR+0FZ1TV6NE6muNbnrSxntejwHJOtLFOMqq0FWGOrwnaVJV9 E6YFxAR+r4KtGX7nTHQgbbvrIGdybxQRpj7Fn8VN9sxbAAPEqlxIP2BaFVcfpiqEGR8C HsKKKnjBpRBrl1FpbusTT5lSQwY3SZ5DP7R6Rwihe1sGSbUfWYoeoMUneFrPGMBdfjOQ ivSA== X-Forwarded-Encrypted: i=1; AJvYcCXHMJ720UEsUVNL2UGZ4gu3j6A9RqAxE+yEJhdY0RMQMxiPSAhVlVwzzNnOD9uc0ptmOxEiVToatDVkUJk=@vger.kernel.org X-Gm-Message-State: AOJu0YxgNcrcXFMajNeKgbTGZ3v54Vss+ZZF77/e7+8RJLPcq7/F7su6 sB1z1I+NBqPgzLG9LdUwh1NAXyyK8NNc+4dNxo0iAShY6EtVmTQRRzl3+pTEDOT55II= X-Gm-Gg: ATEYQzzWdx82z8W2ExW4vIROD6RYM5Izc/HPlaTAUtmhOcVtEQIhMGCmt7hyEdJhrQp 240K0hmYU80+XfattrwlvcOgBqZKuEZRMI1pMaunScHnB53PenL+/8Gp45cK9vRq5YjXyHlm+XE 8yz+PxDpO88yUuWQNA7dMBJOnlzGwSBhoG24iU1JJZdIG9RafM5qECGmLYzuG/JHaGEScw8Q4FA I+womN/H+gLjXNEajmwwi7DY4g6bZkzAK5WInSill+MwIQqA7TpuGiuThJ6JWtrFmHNz1zuX16s nmasfIK81IFBODtz1y+aebJrU0x9/kodOj9gBVLJC8m7Mz2E4PYBqfoX4i2bstCF3uRxMyu5LuK 6qzlzmGZDMOJrEjqdZN7VXybmRYj8Qwle6pq+N9eCzNRcQlQWRnST4O15BQnvwTIizLTb2rQWea LouRndJUEdf0DuhcPopNb/p0MP34QyU7l/WayiS42BinwLNni+L+YLSSK4W+cTHsmaaGOtajdKh JtreOlb X-Received: by 2002:a05:620a:2a15:b0:8c7:1b3c:8e8 with SMTP id af79cd13be357-8cd6d4fb35dmr55157185a.40.1772757139456; Thu, 05 Mar 2026 16:32:19 -0800 (PST) Received: from ziepe.ca (hlfxns017vw-142-162-112-119.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.162.112.119]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8cbbf66b9d9sm2001104885a.12.2026.03.05.16.32.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Mar 2026 16:32:18 -0800 (PST) Received: from jgg by wakko with local (Exim 4.97) (envelope-from ) id 1vyJ74-00000008rF3-01pZ; Thu, 05 Mar 2026 20:32:18 -0400 Date: Thu, 5 Mar 2026 20:32:17 -0400 From: Jason Gunthorpe To: Praveen Kannoju Cc: "saeedm@nvidia.com" , "leon@kernel.org" , "tariqt@nvidia.com" , "mbloch@nvidia.com" , "andrew+netdev@lunn.ch" , "davem@davemloft.net" , "edumazet@google.com" , "kuba@kernel.org" , "pabeni@redhat.com" , "netdev@vger.kernel.org" , "linux-rdma@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Rama Nichanamatlu , Manjunath Patil , Anand Khoje Subject: Re: [PATCH] net/mlx5: poll mlx5 eq during irq migration Message-ID: <20260306003217.GB1687929@ziepe.ca> References: <20260304161704.910564-1-praveen.kannoju@oracle.com> <20260304201151.GI964116@ziepe.ca> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Mar 05, 2026 at 05:08:52PM +0000, Praveen Kannoju wrote: > Regardless of the underlying causes, which may include IRQ loss > or EQ re-arming failure, the TX queue becomes stuck, and the > timeout handler is only triggered once the queue is declared > full. In scenarios where only specialized packets, such as > heartbeat packets, are sent through the queue, it takes > significantly longer for the queue to fill and be identified as > stuck. A proven solution for this issue is polling the EQ > immediately after the corresponding IRQ migration, which allows > for earlier recovery and prevents the transmission queue from > becoming stuck. I undersand all of this, but for upstreaming we want the root cause, not bodges like this. There is no reason to do what this patch does, the IRQ system is not supposed to loose interrupts on migration, if that is happening on your systems it is a serious bug that must be root caused. Jason