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 08DB619BDA for ; Wed, 21 Jun 2023 18:23:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C483C433C0; Wed, 21 Jun 2023 18:23:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687371834; bh=1gohOjV9jG+uRFJl0KlHJXO+OkOch/r4WW/AgrWEW0g=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=AJLK+DleCu7MOrVPnzJT3FMFcO5CidXug5Ir3bxe9oQqM4yK/RDQGndxLHysuORdJ iTq5fzmPPCMDO5Irg0abt7VBnqsseI87+jvibfUgNGQX+kYzGu/oT8iHnHJt7Tox6D Zr1/a4IkVviR7q4WRgWLme3ps05HVS/w55RjZw8B4Sx0vJGrzpNnyJYVE+oThIvlIB fedkqVFMD21Z6kRISAinvAGDHq7hl8WUWIFRyQoboYjG4K9cp1P2rgi8tPnhsFWu2W PDeYQ0C8EPLKtIozDf2XdTlFSMoUyvVO83jkGkJX0GFftXhSP03wU1qocahvc8+Usw XBM506dqEfB+g== Date: Wed, 21 Jun 2023 11:23:53 -0700 From: Jakub Kicinski To: Jiri Pirko Cc: Saeed Mahameed , Saeed Mahameed , "David S. Miller" , Paolo Abeni , Eric Dumazet , netdev@vger.kernel.org, Tariq Toukan , Shay Drory , Moshe Shemesh Subject: Re: [net-next 14/15] net/mlx5: Light probe local SFs Message-ID: <20230621112353.667a285d@kernel.org> In-Reply-To: References: <20230610014254.343576-15-saeed@kernel.org> <20230610000123.04c3a32f@kernel.org> <20230612105124.44c95b7c@kernel.org> <20230613190552.4e0cdbbf@kernel.org> <20230615093701.20d0ad1b@kernel.org> <20230615123325.421ec9aa@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 21 Jun 2023 15:14:35 +0200 Jiri Pirko wrote: >> Did I confuse things even more? > > No, no confusion. But, the problem with this is that devlink port function set > active blocks until the activation is done holding the devlink instance > lock. That prevents other ports from being activated in parallel. From > driver/FW/HW perspective, we can do that. > > So the question is, how to allow this parallelism? You seem to be concerned about parallelism, maybe you can share some details / data / calculations? I don't think that we need to hold the instance lock just to get the notification but I'd strongly prefer not to complicate things until problem actually exists. The recent problems in the rtnl-lock-less flower implementation made me very cautious about complicating the stack because someone's FW is slow.