Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp147289lqp; Mon, 10 Jun 2024 23:05:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWAn5hxuZiU/P9iXRehh2B0q2HNl91+o0+QE9oXuSONE51cRvyLSj8XF0IAc5EZGtuuTSoTmvuSHU5WkU/94NbdgJfLidKN1XPAmbmAIA== X-Google-Smtp-Source: AGHT+IEVvdJcSOggPleNkbg3IcMGVm8PStzINy4d+8Ms1BvOiipPqhYJ0IpkPvicrNvM27vSgBzR X-Received: by 2002:a05:6830:1d58:b0:6f9:944a:254f with SMTP id 46e09a7af769-6f9944a2f8amr6869175a34.0.1718085936961; Mon, 10 Jun 2024 23:05:36 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6b090074e86si1599786d6.576.2024.06.10.23.05.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 23:05:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209298-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=FUAlq5Jd; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-209298-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209298-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com 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 8A3261C21C87 for ; Tue, 11 Jun 2024 06:05:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C05F9171095; Tue, 11 Jun 2024 06:05:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="FUAlq5Jd" Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2059.outbound.protection.outlook.com [40.107.92.59]) (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 00A30143742; Tue, 11 Jun 2024 06:05:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.92.59 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718085920; cv=fail; b=Osm0R3FYiozZWJZYUDUhtRbcIywHTgShwGvdNuDheMu8W/Rjj7UXbT+UgzuAaEvmAsvx2a9ev9nBUlBGF8xlPTARn7ZePGBYilks7QFRoC0x3JtchEkm8Jygpfmn04403wSGm3H21nJNl/DlUmR9J1AvKk85eJ/BAS0rqhtTIBI= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718085920; c=relaxed/simple; bh=RWqaHblr+jaZ1xoTA/e0yuS1Nnf1GSOOZa+fsp/eMDs=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=fCWqw/gHO53kikoNuXUvm6FkNRpRSwZd05Y8EVZYYxyxlCW/m/sZZySTid+QkfuRPo6p7IaSAJbO/Vh0QaC+HA91IoJ2iQTr4lkrBiGAtQTSCmF3pQZkhb0idZ+d1W0xk0/g0qavft4UFlu/hH2wclS3Q8ebFuhm7ep7WsvDayE= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=FUAlq5Jd; arc=fail smtp.client-ip=40.107.92.59 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kYmSDbUGiFfFtaUfuk3VimMCursU+wV1A29Nd9uTa0h+Hnani6gOl8OTMmbe+gl9zRKdPFrP0oHwNU2fzCE2giV92Ezv7mpTvdBNyYcb1ZIAq3krOrmDJyFZAL9TiJynXa+qzBiXVMm+XAuWBaEpywz1S2OENm7ZW8Uxw+fM/qA0tHOFtMmdiVTF6b1arX6RUIq6+Tvl/t24cZhYxU26casvL3o6EyTuviWFxC/xmwPOjnNbik1FrkMdcJYq9dTcnj7JPErQ11mszaXC3GRzxDNKDQcgtjOcLg8L8eer6i1XngUPsTIrv9pNM7wo0Hf5eiAyeMNfSWSFE5palbEJnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fMgEFAGwHA/GIaBR8PjTHslt8a4NaOzCTPZoDAfCOrc=; b=R935cgENxVL4yOsMTxe8ttEhHAXAkQpBTy4k73L+f91zLJltZHuAI3AD+h+jPvzNl8NySs7FiV9LatE+hbvPlOD+OY31knZNyfUeNeXK6Vqp5PZ1xhzLOeNioaA05BIhx/tDjfj/sGvU4rXG7gq6S07F4NN5d+97rWpUFf08vFgr701brcrN8N6dPYBT29GDbQW3QETNgMfTCUQqnFqEz9hEWLPRT1t2b5XUpJSDJ6dG5j6tORTMEHw8tvhhC/NhzIetYQKfJUQup93LoplOg1EMSsLPLeLjmWV3PLAWzm6JQKTTvcJ2dZUBKjfdrEUV3OhOEKQeMCdnMPTJgZ8Zfw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fMgEFAGwHA/GIaBR8PjTHslt8a4NaOzCTPZoDAfCOrc=; b=FUAlq5JdvHvUoUNeaZ2FsFCeLrflcQ2Nau1g+NmbEkD14VuYs8meYjHTvC/F1rcOmfa1eMZ6vvmUKkvYvaEPGMDzGnoT8iVl+EZ/7WplvQruyehljetv2Mt79/xgY0IDK4i0qof86QE1eAVWADOHoK9EWKrdwL4GUrTYV1E1uS0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BL1PR12MB5946.namprd12.prod.outlook.com (2603:10b6:208:399::8) by DS0PR12MB8527.namprd12.prod.outlook.com (2603:10b6:8:161::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.36; Tue, 11 Jun 2024 06:05:16 +0000 Received: from BL1PR12MB5946.namprd12.prod.outlook.com ([fe80::dd32:e9e3:564e:a527]) by BL1PR12MB5946.namprd12.prod.outlook.com ([fe80::dd32:e9e3:564e:a527%5]) with mapi id 15.20.7633.036; Tue, 11 Jun 2024 06:05:15 +0000 Message-ID: <6c01bed7-580e-4f1a-9986-39c20f063e67@amd.com> Date: Tue, 11 Jun 2024 11:35:03 +0530 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v4 3/4] net: macb: Add ARP support to WOL Content-Language: en-GB To: Andrew Lunn Cc: nicolas.ferre@microchip.com, claudiu.beznea@tuxon.dev, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux@armlinux.org.uk, vadim.fedorenko@linux.dev, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, git@amd.com References: <20240610053936.622237-1-vineeth.karumanchi@amd.com> <20240610053936.622237-4-vineeth.karumanchi@amd.com> From: Vineeth Karumanchi In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SG2PR03CA0132.apcprd03.prod.outlook.com (2603:1096:4:91::36) To BL1PR12MB5946.namprd12.prod.outlook.com (2603:10b6:208:399::8) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL1PR12MB5946:EE_|DS0PR12MB8527:EE_ X-MS-Office365-Filtering-Correlation-Id: a33a571e-6999-4683-4e23-08dc89dc766f X-LD-Processed: 3dd8961f-e488-4e60-8e11-a82d994e183d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|7416005|376005|366007; X-Microsoft-Antispam-Message-Info: =?utf-8?B?MjBsVGhnZ0NFTWRrRHcya2pqWGw2Z3dSbm1lbDFWZW1MU0diT0VMUDQ4M3gy?= =?utf-8?B?bmU2VUY5WDl2N2wwTndMUE9vTFFQTWZyc3FFZDJ0VWZNZG1mc3FnQ2N2Nmdt?= =?utf-8?B?OTlNeVR3VlN4OXh5WkcwNVJpajdTOXBVN05yemx4djNkbUJZNzlIWXN5YTRS?= =?utf-8?B?RTFpbnV5ZzFpNFJhdzNXMERQbjlkR1BHdXV0dU5UdWdrWWtLUmxTNmcyU092?= =?utf-8?B?b3BIQ0d3VFpjUU5mQlh2dnQvS2pDR3JQbTJZWnFJV2hpcGJHWXk4WXNmMEtZ?= =?utf-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Et4ZnFEdzBt?= =?utf-8?B?ME9VRHEwQnJWNzE2bUp5cTJmTzVld2tRUmNYSTFJRVJTdzQxR2w4Zk03NjJv?= =?utf-8?B?MHZOYVhRb1UxTE10cllWOSsrTnZHdFFqd1EyR1R1QWlaWTh5cmg0RXp6R1M4?= =?utf-8?B?eTZLcENhZTFQeTVHVSttQmVEZ1VwV25VM3NqUG9GeTdZcVdqNVBrQytZWUZ1?= =?utf-8?B?Zkdvc2dEdDA4bzcwWHZNQnRITVRPNGEyekFIdHRaMnBCVVdFR1p6T05tTmp5?= =?utf-8?B?TmVOYmY2L0dQZTBiMkx4V0ZHWEZIRUZlNEhBcEFhZE9SQ0FoTGlQeFpVOE9D?= =?utf-8?B?Y05GaC8xeHNDeXcvb0U1U1ZVUDdnMG56bUdnTldHbDVQYkh3N0hiOURQS2Iw?= =?utf-8?B?Zy9hUzZlbHFrVG5yUU8veVhnRGNMRWhYWGc3NnBDWnEvWTBzUmFoVWkyYXV4?= =?utf-8?B?OVcvcURrcXJnNW9kZ1c1dXdkeGExWVhvdEpkN2xaNko1RjhjZi8vc29lRjBB?= =?utf-8?B?NDJLU2FzZFJDQ1JUNEs1VWxucmVrWG9SSGsrMFFZenJoaWVCeWUvVkpaSjhr?= =?utf-8?Q?SXjk27hpL/539y6PepUYxh7AMKGdJcBOGlEzlUG?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL1PR12MB5946.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(7416005)(376005)(366007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?a0Z0cGFpajFIQWJ6TEJiTCtyWUhTeCtrSnNjaUlMS1F0QnU5MjlPZTFDNzJP?= =?utf-8?B?WHlKeFFIWDdFL1h3RFRSS3ppRytZNEpTWE0rRms5eTM4T1gwc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QK0tPMHNiYkxOUm5wMGVGK0RwSXc1ZVRjTU5DUEh3bUVP?= =?utf-8?B?QXppQzBYMFZUU3JNY0ZQazNheDI1WFhqVVN2WjlUN3VRcms3OStMS3JveWRt?= =?utf-8?B?V2IvVFIwcDFqTGpyUExGaWxtUFVVYUpWQnNoL0tidHRnRjRWVFhhVmRURkQr?= =?utf-8?B?TEluZ3RFVHhaN0ROeGkzRUNNWVhoYmREK2loeWJmNXYrUDdSWGlsd002SlVO?= =?utf-8?Q?VZm/GztMa03c3lFAS91vC/EoB?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: a33a571e-6999-4683-4e23-08dc89dc766f X-MS-Exchange-CrossTenant-AuthSource: BL1PR12MB5946.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jun 2024 06:05:15.5698 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: USJ8jqTDV8QhepCnLpKB4nb0kU2gX6GMaqFSjHLzSGemT1uLGOgQGya5ArET81Gi X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB8527 Hi Andrew, On 10/06/24 6:16 pm, Andrew Lunn wrote: >> @@ -3294,22 +3292,15 @@ static int macb_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) >> >> /* Pass the order to phylink layer */ >> ret = phylink_ethtool_set_wol(bp->phylink, wol); >> - /* Don't manage WoL on MAC if handled by the PHY >> - * or if there's a failure in talking to the PHY >> - */ >> - if (!ret || ret != -EOPNOTSUPP) >> + /* Don't manage WoL on MAC if there's a failure in talking to the PHY */ >> + if (!!ret && ret != -EOPNOTSUPP) >> return ret; > > The comment is wrong. You could be happily talking to the PHY, it just > does not support what you asked it to do. > These are the 3 possible return scenarios 1. -EOPNOTSUPP. : When there is no PHY or no set_wol() in PHY driver. 2. 0 : Success 3. any error (-EINVAL, ... ) from set_wol() we are returning in case 3. The comment can be "Don't manage WoL on MAC, if PHY set_wol() fails" please let me know your thoughts/comments. ???? vineeth