From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 18565CA0EEB for ; Tue, 12 Sep 2023 14:26:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 8A1E841714; Tue, 12 Sep 2023 14:26:48 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 8A1E841714 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1694528808; bh=vwXDfoNh1cHn1fjUee8O6eKyOfeJEKthSwlPprjNCs0=; h=Date:From:To:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=HfG6M/ZuM5Ez/dBibBFlAg4FA8JXfpcZWzpmnRwUkpIiFcHhT+vq3AyRO6jYbc0zY GYAk5Z9C2+rpKuSxb666ZvwdbuURdq6Udg+nxDYPaK4ZojHjBZ6Ny4q/Oqn5ulsfSy Ac6LpMAxftP9eL1Ii1FrtE+BPMl1Vg+q2232HzGGusXWP4OMBCzJmcEh2q1jlyI/KI 6Foa1GUYN/tEEynKQmvuOUKi1w/udPwV9YphKc12o2iWX/jVbtTZz6dQCUS+UZ+RwE 0ywZkAqMzJmNup+BdiV7Sc6SoHTTeBazDBwEEZXKbPFPHg9mzr264zHKWoa0hK0ycj 9xNZEJKyS/ogw== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O-vUmxv8fZzx; Tue, 12 Sep 2023 14:26:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 7C80B417D8; Tue, 12 Sep 2023 14:26:47 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 7C80B417D8 Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 900991BF358 for ; Tue, 12 Sep 2023 14:26:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 74A9F82163 for ; Tue, 12 Sep 2023 14:26:45 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 74A9F82163 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SItGWINxKKWT for ; Tue, 12 Sep 2023 14:26:44 +0000 (UTC) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by smtp1.osuosl.org (Postfix) with ESMTPS id 3A60B81FAD for ; Tue, 12 Sep 2023 14:26:44 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 3A60B81FAD Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 777D43200989; Tue, 12 Sep 2023 10:26:42 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 12 Sep 2023 10:26:43 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudeiiedgjeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggugfgjsehtkeertddttdejnecuhfhrohhmpefkugho ucfutghhihhmmhgvlhcuoehiughoshgthhesihguohhstghhrdhorhhgqeenucggtffrrg htthgvrhhnpeetieevjefgffffkeeivdegfeeivddugfefveeugedvgfetueefveeluedt gfelteenucffohhmrghinhepnhhvihguihgrrdgtohhmnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepihguohhstghhsehiughoshgthhdrohhr gh X-ME-Proxy: Feedback-ID: i494840e7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 12 Sep 2023 10:26:40 -0400 (EDT) Date: Tue, 12 Sep 2023 17:26:37 +0300 From: Ido Schimmel To: "Drewek, Wojciech" Message-ID: References: <20230824085459.35998-1-wojciech.drewek@intel.com> <20230824083201.79f79513@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1694528802; x=1694615202; bh=A9Yxufzp7Uv3QFjrOPYY9Pejoi6vmjb+Oe0 p0j5+f/c=; b=lTpEgsYcdZVr1G1p2Li7c1yhtCDgJDTxT75VEApComjwkjteP9u aYkEa/imoyVhDiFvfdxU4OlWbSyOfvc1vEvboLKCvzYta9xn6WOECzMIp5LPAMj3 xCIXhO72YObCXju5oGyO6X9Q8099dy559fiQ5LSuX/GekiDrf25xAnmyG8ByKcfu bYOx+fnVbTTUkWf+7MGdvy80PmctyZW1rSS9eWr6/GBOPQduX/tkOW6yvwYSO5nb ZVikgGKBdKUoaG6kqrDSDggUEImioAE5Ov/gMQbC4HUKoFKMjCcdvw1jzSIwIjwe vtgHNDn0zSI/IBee7OkafwKUvlLcMuEaikQ== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm1 header.b=lTpEgsYc Subject: Re: [Intel-wired-lan] [PATCH iwl-next v2] ice: Disable Cage Max Power override X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jakub Kicinski , "idosch@nvidia.com" , "intel-wired-lan@lists.osuosl.org" , "Kitszel, Przemyslaw" , "netdev@vger.kernel.org" Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" T24gRnJpLCBTZXAgMDEsIDIwMjMgYXQgMDE6MzQ6MDRQTSArMDAwMCwgRHJld2VrLCBXb2pjaWVj aCB3cm90ZToKPiAKPiAKPiA+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tCj4gPiBGcm9tOiBJ ZG8gU2NoaW1tZWwgPGlkb3NjaEBpZG9zY2gub3JnPgo+ID4gU2VudDogxZtyb2RhLCAzMCBzaWVy cG5pYSAyMDIzIDE3OjE3Cj4gPiBUbzogRHJld2VrLCBXb2pjaWVjaCA8d29qY2llY2guZHJld2Vr QGludGVsLmNvbT4KPiA+IENjOiBKYWt1YiBLaWNpbnNraSA8a3ViYUBrZXJuZWwub3JnPjsgaW50 ZWwtd2lyZWQtbGFuQGxpc3RzLm9zdW9zbC5vcmc7Cj4gPiBuZXRkZXZAdmdlci5rZXJuZWwub3Jn OyBLaXRzemVsLCBQcnplbXlzbGF3IDxwcnplbXlzbGF3LmtpdHN6ZWxAaW50ZWwuY29tPjsKPiA+ IGlkb3NjaEBudmlkaWEuY29tCj4gPiBTdWJqZWN0OiBSZTogW1BBVENIIGl3bC1uZXh0IHYyXSBp Y2U6IERpc2FibG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aGUgc3BsaXQgYnJhaW4gc2l0dWF0aW9uIHdoZXJlCj4gPiB0aGUgaGFyZHdhcmUgaXMgY29u ZmlndXJlZCBieSBib3RoIHRoZSBrZXJuZWwgYW5kIGFuIGV4dGVybmFsIHRvb2wuCj4gCj4gSSds bCB0cnkgdG8gZm9sbG93IHVwIHdpdGggdGhlIGV0aHRvb2wgZXh0ZW5zaW9uLgpfX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpJbnRlbC13aXJlZC1sYW4gbWFp bGluZyBsaXN0CkludGVsLXdpcmVkLWxhbkBvc3Vvc2wub3JnCmh0dHBzOi8vbGlzdHMub3N1b3Ns Lm9yZy9tYWlsbWFuL2xpc3RpbmZvL2ludGVsLXdpcmVkLWxhbgo= From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 80595377 for ; Tue, 12 Sep 2023 14:26:44 +0000 (UTC) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0DB310D for ; Tue, 12 Sep 2023 07:26:43 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 777D43200989; Tue, 12 Sep 2023 10:26:42 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 12 Sep 2023 10:26:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1694528802; x=1694615202; bh=A9Yxufzp7Uv3QFjrOPYY9Pejoi6vmjb+Oe0 p0j5+f/c=; b=lTpEgsYcdZVr1G1p2Li7c1yhtCDgJDTxT75VEApComjwkjteP9u aYkEa/imoyVhDiFvfdxU4OlWbSyOfvc1vEvboLKCvzYta9xn6WOECzMIp5LPAMj3 xCIXhO72YObCXju5oGyO6X9Q8099dy559fiQ5LSuX/GekiDrf25xAnmyG8ByKcfu bYOx+fnVbTTUkWf+7MGdvy80PmctyZW1rSS9eWr6/GBOPQduX/tkOW6yvwYSO5nb ZVikgGKBdKUoaG6kqrDSDggUEImioAE5Ov/gMQbC4HUKoFKMjCcdvw1jzSIwIjwe vtgHNDn0zSI/IBee7OkafwKUvlLcMuEaikQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudeiiedgjeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggugfgjsehtkeertddttdejnecuhfhrohhmpefkugho ucfutghhihhmmhgvlhcuoehiughoshgthhesihguohhstghhrdhorhhgqeenucggtffrrg htthgvrhhnpeetieevjefgffffkeeivdegfeeivddugfefveeugedvgfetueefveeluedt gfelteenucffohhmrghinhepnhhvihguihgrrdgtohhmnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepihguohhstghhsehiughoshgthhdrohhr gh X-ME-Proxy: Feedback-ID: i494840e7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 12 Sep 2023 10:26:40 -0400 (EDT) Date: Tue, 12 Sep 2023 17:26:37 +0300 From: Ido Schimmel To: "Drewek, Wojciech" Cc: Jakub Kicinski , "intel-wired-lan@lists.osuosl.org" , "netdev@vger.kernel.org" , "Kitszel, Przemyslaw" , "idosch@nvidia.com" Subject: Re: [PATCH iwl-next v2] ice: Disable Cage Max Power override Message-ID: References: <20230824085459.35998-1-wojciech.drewek@intel.com> <20230824083201.79f79513@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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Fri, Sep 01, 2023 at 01:34:04PM +0000, Drewek, Wojciech wrote: > > > > -----Original Message----- > > From: Ido Schimmel > > Sent: środa, 30 sierpnia 2023 17:17 > > To: Drewek, Wojciech > > Cc: Jakub Kicinski ; intel-wired-lan@lists.osuosl.org; > > netdev@vger.kernel.org; Kitszel, Przemyslaw ; > > idosch@nvidia.com > > Subject: Re: [PATCH iwl-next v2] ice: Disable Cage Max Power override > > > > On Tue, Aug 29, 2023 at 09:12:22AM +0000, Drewek, Wojciech wrote: > > > In some cases users are trying to use media with power exceeding max > > allowed value. > > > Port split require system reboot so it feels natural to me to restore default > > settings. > > > > I don't believe it's the kernel's responsibility to undo changes done by > > external tools. Given that the tool is able to change this setting, I > > assume it can also restore it back to default. > > I agree with that, but we can end up with no link if we don't restore > default settings. Let me explain how. > > > > > Moreover, it doesn't sound like port split won't work without this > > change, so placing this change there only because we assume that a > > reboot will follow seems random. > > After port split, we might end up with no link in one of the ports. > In dual port card if we increase max pwr on the 1st cage the 2nd one > will have max pwr decreased automatically. This might be useful if we have port > option with count 1, the second cage is not used in this case. If we then split and > use two ports now, the second port will use second cage which has decreased max pwr, default module > used there will not work. Not sure I understand how it's related to port split. You have a dual port card with two netdevs (e.g., eth0 and eth1) and two cages. You used some tool to increase the max power on the first cage which means that the second cage will have its max power decreased. Now you split the first port: # devlink port split eth0 count 2 eth0s0 and eth0s1 correspond to the first cage. Why are they affected by the second cage? I have a feeling we mean different things by "port split". As far as I'm concerned, you split a port in order to connect a splitter cable to the cage. For example: https://network.nvidia.com/related-docs/prod_cables/PB_MCP7H50-Vxxxyzz_200GbE_QSFP56_to_2x100GbE_QSFP56_DAC.pdf > > So, should we leave the restoration of the default settings to the user? Let's first clear up the above. BTW, if a port doesn't come up because of power issues you can try communicating it to user space using 'ETHTOOL_LINK_EXT_STATE_POWER_BUDGET_EXCEEDED'. > > > > > I think the best way forward is to extend ethtool as was already > > suggested. It should allow you to avoid the split brain situation where > > the hardware is configured by both the kernel and an external tool. > > I'll try to follow up with the ethtool extension.