Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp221214lqi; Wed, 6 Mar 2024 15:19:16 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUEMYurhRy6GnSE5GSOn2ap+JSCLtRYVeygohoyUgn2paLLLKsKmFeQ1Q3LduEiYqk0rSRUQJwrhb3dxVQpizmaLB8CPBtRMIV0HesxSA== X-Google-Smtp-Source: AGHT+IExNTBQfTiNpKGl0/q/VL4apND6l7Ml/OIFknJfv9HMt9rkmVk4l7RiABtGPp7VyOpV6zkU X-Received: by 2002:a67:efc7:0:b0:471:e1ad:39f5 with SMTP id s7-20020a67efc7000000b00471e1ad39f5mr5770723vsp.25.1709767155883; Wed, 06 Mar 2024 15:19:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709767155; cv=pass; d=google.com; s=arc-20160816; b=ExwViD5Ht0j8vvY4WEiVhRYUOEzPVSWSW7JzY61RUvV2HSMVyrGcQi0y+nB6lwjzZI eIXc4Vn1kn8mwc6t7OthoGj4/so7pB4zQiY2OgJchdDi0vuoKckm1wBHGO0DZKMHHrUu YpGgwXCi669TldptVvrpXnrlH+CQsXNyBMKYJ9I1E8UkO+Vjx3IDOjSnqgTQ+qTf7s21 cgajFLyHKPE7yWZiCGn1P+6MfsPuGTLWOKr+k/nrk1ySaCV1sADIQyB3ESUH1leIbDhB p5wIVRBiM59XYFc1FK6oI7qvGw/b1Jge+B7PdHNwH3fKzi098IZfniTJop4qQwmlPzk/ oFkQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ernnd5D8e8Iwl4Vz0vO6Y7+VleA1yRKjoKPp5Py+iFI=; fh=5GLuCscafnkr9xURFuRRZGM/am2ErtbL/1cRxjXdgT4=; b=e0sO6fsDSrN4c8XDDAPX9/vJHLU1qv8OjAmDfxuK4tzNuaBzV8SvG/8yVJvAHhlG3y hL3e8pt/43+KZ6T8Dd//gJVe/s1xV2kSWpWSnMZeBiP6Klmvmz6flmGgTEwQIjamB8Ie 03Jye7EQXR0UW5Tw0cAUZgYSkLUoVQ1++74ZmhOjDPzaFAl4TkuEdZIztDWK1FAr/PX2 IDVx7RkKSOn25udiJgTu2ss8+OLNzICYwupYrB8ZQ3+N5JjiqQzl8lzHXNymsQv3GXcf T6N0D0dX9ff/tqyYSEhIs6GQ4v8bKgdXIJJOdgfBTiVQ/8YBCtqvkQnvmCaeAn//F1Tv RJEg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=53qhwLSb; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-94702-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94702-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id u2-20020ad45aa2000000b0068fa92d429csi16092871qvg.204.2024.03.06.15.19.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 15:19:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94702-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=53qhwLSb; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-94702-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94702-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 3670F1C21AE4 for ; Wed, 6 Mar 2024 23:19:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BE64A1CA83; Wed, 6 Mar 2024 23:19:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="53qhwLSb" 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 3505D1C684; Wed, 6 Mar 2024 23:19:04 +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=1709767146; cv=none; b=kEXoSAHILUI+CLgHqaJb0CqnvKAwIAFpii0zJShT3/yNRMWrpYlVed/HbcA1/tHrh8sfYb7l6oQmmMhbfcztKNkT1y0RgGhe5DdjnO2c1lZQUdP6L9YGG9YOc2UTDJJCNIVnwcTk7GFYg3QN5O2t6MtWArR2iHp//cE2rVD2JHw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709767146; c=relaxed/simple; bh=upHSE3Z4rIUmGGYbuJAUrYzQRj2maCqMzegqvGENBnA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Kyz8pVn0zNP1KQO+lTQW7pMJn2tJ2fz+4O64kJzkaH3hd+MAqoMmEdeVK/zTeExDGFeseC9pKRa7KJlijUHw9N6yF5LBGxRvj8hZ0BpuX6elq3Ei8OzLG8nPov0OubRKAt1XJC3dGQegWTt2TcA356ps/FQhqNk5O83XDI/HRbg= 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=53qhwLSb; 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 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=ernnd5D8e8Iwl4Vz0vO6Y7+VleA1yRKjoKPp5Py+iFI=; b=53qhwLSb1zUc/8R0W4UHfrSKK3 7G9/u2/UnQI8pygFg3oaN6A/0O6KG+fkPnMY1eNB9vyAXm8RqNJ7+GHQnAgZy2EHfTP1xQndXLthW MRbcETkYH6YZTqZXa2e4FBzJgMlx0KIoBWmvdeAfdJRV9KIOGJkJyhDjmghfRLj5/UN4=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1ri0Xp-009XNj-26; Thu, 07 Mar 2024 00:19:29 +0100 Date: Thu, 7 Mar 2024 00:19:29 +0100 From: Andrew Lunn To: Raju.Lakkaraju@microchip.com Cc: netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org, linux-kernel@vger.kernel.org, Bryan.Whitehead@microchip.com, richardcochran@gmail.com, UNGLinuxDriver@microchip.com Subject: Re: [PATCH net 3/3] net: lan743x: Address problems with wake option flags configuration sequences Message-ID: <70b01df1-d651-4f6b-a7fc-8e16c18c6e32@lunn.ch> References: <20240226080934.46003-1-Raju.Lakkaraju@microchip.com> <20240226080934.46003-4-Raju.Lakkaraju@microchip.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: > I'm not able to find any more "ethtool" documentations other than ethtool man page. > > I have gone through the ethtool application code. > (git://git.kernel.org/pub/scm/network/ethtool/ethtool.git) and check the WOL options. > > In ioctl method (Not netlink), do_sset( ) function, before set the parameters, first get the WOL configuration. > (i.e. in ethtool.c file, Line no. 3294) > > Then, assign/overwrite WOL wanted config to wolopts parameter. Thanks for documenting all this. So it does seem like wol options overwrite, rather than add incrementally. So i would say the correct 'fix' here is to document that in the man page, because at the moment it is not clear what should happen. Now i need to go back and look at what your original issue was... Andrew