From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 957EE31F9B4; Sun, 10 May 2026 19:04:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778439874; cv=none; b=rgnNh+T1zwI/FGWcb0GYbkkmBecM19STbXyeGmyXkrBCPnmm2gfGQotpbvxi42WDAeWekj/DFrpJ0SUVAcU0LaF+i0oLgr87CLbAmC4ckfNY0MRP8QtxsZMUPIho5VlVjJCZOa0UGdTZuXfcrgD0k4HEzfWYnsYsaudYuQ7Wir0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778439874; c=relaxed/simple; bh=Ahehp0QI9D2BYQLFdFuB77DeVgSwNi1a7QbLB2ukxlI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=maoWHCWuDoEXwrZrTFaQ21tvsZ3AwYa8aeJL0GPA1f2m4UWtaWgSLYxyN8Zky9hlGbKhVw7+VMb7qcTixgXbojgtsv1ee3VDthyGMopoKobpjfHos1g73QZtZLDW76unarbiI64dHQjVjnQz6AiiybNNuyHyteLqgYULzLI4gHg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JlvLsY+3; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JlvLsY+3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 91BF7C2BCB8; Sun, 10 May 2026 19:04:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1778439874; bh=Ahehp0QI9D2BYQLFdFuB77DeVgSwNi1a7QbLB2ukxlI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JlvLsY+3/Uq3eRLE8yMYc3bbYRg+1O5xBNOOIk4eJGUhF7y19CKrsJppjFPVuXgL5 8hPWXwZK29J0IgRG64/i7DjmzufN1HC2grrK9R0c57aCOzWZ3SvDUIBYLrEGiKbQEy 585z75juuGO3jm+uhSQGdnp5OX+WLv+/DpoCW6LvJF/6gpOwA2FRLj7Cn5CthFzXo0 eSODanWU++vWnW5PwQ0UN2MddX+Rtt9o3Z2A2xnNcsNuGq/VCDW7nfHwUhWsFfdUKs 2NbLuGVCGu59I65Yp5gfyv01V0ISLGOk/xFpHoAv41aXxCxqol45EB1W1X8AjDsS9+ 3ky4ZIhL1QsBg== Date: Sun, 10 May 2026 20:04:28 +0100 From: Simon Horman To: Tariq Toukan Cc: Christoph Paasch , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andrew Lunn , "David S. Miller" , Saeed Mahameed , Leon Romanovsky , Mark Bloch , Yevgeny Kliteynik , Vlad Dogaru , Kees Cook , Alex Vesker , Erez Shitrit , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, Gal Pressman , Dragos Tatulea , Moshe Shemesh Subject: Re: [PATCH net-next 2/3] net/mlx5: HWS, Handle destroying table that has a miss table Message-ID: <20260510190428.GY15617@horms.kernel.org> References: <20260507173443.320465-1-tariqt@nvidia.com> <20260507173443.320465-3-tariqt@nvidia.com> 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: <20260507173443.320465-3-tariqt@nvidia.com> On Thu, May 07, 2026 at 08:34:42PM +0300, Tariq Toukan wrote: > From: Yevgeny Kliteynik > > If a table has a miss table that was created by > 'mlx5hws_table_set_default_miss' API function, its miss_tbl > keeps the table that points to it in a list. > If such table is deleted, we need to also remove it from the > miss_tbl list, otherwise the node in miss_tbl list will contain > garbage. > > Signed-off-by: Erez Shitrit > Signed-off-by: Yevgeny Kliteynik > Reviewed-by: Moshe Shemesh > Signed-off-by: Tariq Toukan Reviewed-by: Simon Horman