Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 B249020DCF for ; Wed, 7 Feb 2024 16:14:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707322483; cv=none; b=CgYOR2qvxRR0XDRrD6YT7cHfxfYJCaXK+cwSuPtkCJbJWgBSkQiqJmkR2w99QeGIzQwVtQNkfciSArSmQv7f3GBApcWedADrwmHoXN+hYY9SEYLqTp46riN/JRvwBTqE6gKd82BBnIeKfG6V4JmOTV3frMOpf4SVk/FHw1LowsY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707322483; c=relaxed/simple; bh=6vEhRaMZalIVplBDmcr2WR2nxcZk76/9Eq0dy5jY5sU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Nv0O3B9TSqrYCw6LZp8TBIsZNpprSkHRuZzVeY+cNrRrFJ0dD/7sdkP+BZ0faquv86hbljpuYA5/9KD4ZizjLLwgXuA/fYR6yH1bwateJP78pA5GEhaf/+ze/4b1NoF7jfCBblhaBS2tASzg3E3uN8hQt+6yaJ4/UqK2mKf7yEY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=FLKvS12u; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="FLKvS12u" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=Bip1UTDx5KuvZif9ify8FWQX/djbb3/ZjQmnCvYXEAs=; b=FLKvS12uaDmVJgP7DblFo4Hr7J nkAMISOovdeN2WEYKj9kXlRgV07DgyqrngCCmX1tSARXdNxgvOeSeRcRn5hFCFKPKzG1sI3n5JNs7 9V9Fd/qkHGsocnj5pHuC1AwlBw9i2DPxB6kX2JEQ97KGgcbcn0TZjgKRh1d5dqFC4IBk=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rXkZ8-007Eat-AZ; Wed, 07 Feb 2024 17:14:26 +0100 Date: Wed, 7 Feb 2024 17:14:26 +0100 From: Andrew Lunn To: Jakub Kicinski Cc: Heiner Kallweit , Paolo Abeni , Eric Dumazet , David Miller , Russell King - ARM Linux , Igor Russkikh , "netdev@vger.kernel.org" Subject: Re: [PATCH net-next] net: atlantic: convert EEE handling to use linkmode bitmaps Message-ID: References: <7d34ec3f-a2b7-41f5-8f4b-46ee78a76267@gmail.com> <2046e53a-6de4-41e0-b816-3e7926ad489b@gmail.com> <20240207075314.5458bd68@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-Disposition: inline In-Reply-To: <20240207075314.5458bd68@kernel.org> On Wed, Feb 07, 2024 at 07:53:14AM -0800, Jakub Kicinski wrote: > On Wed, 7 Feb 2024 07:52:49 +0100 Heiner Kallweit wrote: > > > This is again a correct translation. But the underlying implementation > > > seems wrong. aq_ethtool_set_eee() does not appear to allow the > > > advertisement to be changed, so advertised does equal > > > supported. However aq_ethtool_set_eee() does not validate that the > > > user is not changing what is advertised and returning an error. Lets > > > leave it broken, and see if Aquantia/Marvell care. > > > > > > Reviewed-by: Andrew Lunn > > > > This patch was by mistake set to "Changes requested". > > It's because of the comment about zeroing, not the latter one. > > Sorry, it's impossible for me to guess whether he meant the tag > for v2 or he's fine with the patch as is. Andrew has the powers > to change pw state, I'm leaving this to him. Hi Heiner Sorry, i was not explicitly. The linkmode_zero() is not needed, so it would be good to remove it. Then feel free to add my Reviewed-by: Andrew