Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp5413083rwb; Wed, 7 Sep 2022 02:22:29 -0700 (PDT) X-Google-Smtp-Source: AA6agR5tXGEeGDRE1ll4M/VUzVYRx1qhlbN11OgbdN26lOW/NTfPCvpSdDnAJPuAu+rBDFoJKhim X-Received: by 2002:a17:90b:3144:b0:1f5:829e:cd49 with SMTP id ip4-20020a17090b314400b001f5829ecd49mr30050055pjb.80.1662542549660; Wed, 07 Sep 2022 02:22:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662542549; cv=none; d=google.com; s=arc-20160816; b=hoJDk3PyjQgAa4c0Pfn9rkRTCLwf/fc+ATxdlsSqSBlhFy1sybrV+37RopF+ZlP4DU g8iaGRhBWGf+iyiFK8TeLCwtEzlpIGg9qohEcLFplrnWmYf+om/yMuoqxxAy4Kw+ek/K UyXS5D1q4YOdV6ZGRIQMApi9sx2oRDIm1R+f0kQt80yhL5teFoepV1bmkBGUiS4oHprG 7Z6uKKNYl2wN+EGqFAXHgJ/gLvBafFoH/DR2eunpu0/oNMx80RJUwDlyNzzUBDsTn2Ob O7qMWpODlQYlhbEHUPH/6QMvLZU5VfRLlsLxxdbgK6W6CUjQgHMTqSYYvrL8ZbGzAETQ 9ydg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wW0b62MlfAbb/f+HVMrwfT83j7W18iBp15xrkVEopNs=; b=cylvi9OCV+Z5e+MDudfYIh5YFjvxYx468mcrEdp+2lZ4HU40JoK200OWO8BMHGs7n3 12rYAppbXDDw1gh1xyq9WDU07Yesv56H9IBXfEnYxDxTe49ShaOBjRjHGWjXylZ8b0lS ZHjWPljTEuZU/NT0SFZ5WCFu6PAGdlhAc6Xd4fc5uaYOyfF/UbC+kxTfNYW8/NhpdEim 5raCIovVfCxeOM0jcFRyhB/6oJaE/3Fh2Hk9NCBhiTrdDRy21D7In9BIZPiTO8aTidx2 suDtcKTkZ7uneWjPAQfptWrL4tG04F7a+tOgaQtodKZ0C5a3/EglEDrnC0w4IgOQr60z khEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b=QB8yJlBx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e190-20020a6369c7000000b00430980f4c69si5096201pgc.872.2022.09.07.02.22.17; Wed, 07 Sep 2022 02:22:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b=QB8yJlBx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230294AbiIGJIG (ORCPT + 99 others); Wed, 7 Sep 2022 05:08:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229846AbiIGJIF (ORCPT ); Wed, 7 Sep 2022 05:08:05 -0400 Received: from mail.3ffe.de (0001.3ffe.de [159.69.201.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F5FB80B59; Wed, 7 Sep 2022 02:08:05 -0700 (PDT) Received: from mwalle01.kontron.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.3ffe.de (Postfix) with ESMTPSA id BB5E211C; Wed, 7 Sep 2022 11:08:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2022082101; t=1662541683; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wW0b62MlfAbb/f+HVMrwfT83j7W18iBp15xrkVEopNs=; b=QB8yJlBxzji3Ww53mhp2ZK1VCZV5AQK0/J8sm48nW4r7wWW0MXMBlMcBG03zH85bPRYXQt UM/xsgiFBBGKqaExLy1OnuS61KWRvIWSzf16V5ypM27vfooNY984kRe0m+ESjsmq5XbzL8 G7Uvhq2clcqvhLimq/mjF9+oqsPT2oMWlYYHGHfhm2xKjZwGW2pCtIExsMRrsAu7BGxW91 QySNtLK4kb7WMuVupGysfD8JErifBPLBygIUcS3XCDvppHsIqzjI0U9NKjNPYK0RIVgxVt XtZOpUwbb8gpwb5/IAiltKUJw1DwrmV/i1jc4vNjKkmgpsOEVUqvVIQHk6pZKQ== From: Michael Walle To: Divya.Koppera@microchip.com Cc: andrew@lunn.ch, UNGLinuxDriver@microchip.com, davem@davemloft.net, edumazet@google.com, hkallweit1@gmail.com, kuba@kernel.org, linux-kernel@vger.kernel.org, linux@armlinux.org.uk, netdev@vger.kernel.org, pabeni@redhat.com, Oleksij Rempel , Michael Walle Subject: Re: [PATCH v2 net-next] net: phy: micrel: Adding SQI support for lan8814 phy Date: Wed, 7 Sep 2022 11:07:50 +0200 Message-Id: <20220907090750.2937889-1-michael@walle.cc> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Mon, Sep 05, 2022 at 03:47:30PM +0530, Divya Koppera wrote: >> Supports SQI(Signal Quality Index) for lan8814 phy, where >> it has SQI index of 0-7 values and this indicator can be used >> for cable integrity diagnostic and investigating other noise >> sources. It is not supported for 10Mbps speed >> >> Signed-off-by: Divya Koppera >> --- >> v1 -> v2 >> - Given SQI support for all pairs of wires in 1000/100 base-T phy's >> uAPI may run through all instances in future. At present returning >> only first instance as uAPI supports for only 1 pair. >> - SQI is not supported for 10Mbps speed, handled accordingly. > > I would prefer you solve the problem of returning all pairs. > > I'm not sure how useful the current implementation is, especially at > 100Mbps, where pair 0 could actually be the transmit pair. Does it > give a sensible value in that case? It is good practice to CC the patches to the ones who gave feedback on the previous versions. Not everyone is subscribed to all the high traffic mailinglist. Thanks, -michael