Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1921767ybk; Mon, 11 May 2020 07:36:36 -0700 (PDT) X-Google-Smtp-Source: APiQypK31C5+rvnXskivIhPsyeEMWT0/aW0xfyoZPpYijLLAEJpl/T0j0v1q37kohJX1WTWignm9 X-Received: by 2002:a05:6402:2208:: with SMTP id cq8mr14082218edb.293.1589207796754; Mon, 11 May 2020 07:36:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589207796; cv=none; d=google.com; s=arc-20160816; b=CJmo7Fp4eLDLWq1g9RSxicQXPtty2yENSUx9zoJTrD3zG1Au/PpevobyMmGfg6g5tU PvN9ofQhOyZy/RKbnTeOKJ7WneqOm6fAKShmobFB+pvrex3FfNMzsH0PH5FTTQ5J24k6 UH9oPp9BniuZQ+6EmHEgdSSfoVjBHO9JeqYKqCLwA5lzLnb8s6kfjHRledDUm2L5TfFx iYLt4GNT6lI8goCyvbqcCqF7A9rOXGBpagTqKPHNt2Pfp0lLPqBVPm0wpIXODvUfdlvt vu4WmdMbyM51MSOQSCUjCk2G2CHOLxZFNxJUyfhh0REIWKX/NGZEkjEd0EKrb3tjUpTN T9Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Mwae2KvTbiEeDM+Ihkjwa5GcbZ/X5g2Mvj9LCuhgqwI=; b=s3m/mmgTTNjFIM2Gra+/mn59vxPOtaj1mJDHLNk9pAnT1e+lCH1N7aMNe6HPEcdaMF Za5Nqgu/yGssNrVt7IHyB9m3DTc+FhBbbDqdup1jYJGo9G0KpgkCxJoOP8KZhoP8ae01 LKKzByOd4Og0WQ2tisQ4MX8mzuEEFoeAMLIT+I2RISXmksWYoaFPIB0ge87fca9D5j9o aBspqONxTt3N1GLDSuffN1oAYopMbCb9hsdMM9ECBj61RY6mkn+oubsBsVUXi6+4nnFh fiiHDpJZHN38L5xKWlTU3CnT/vxo6s6vgk9RSP0Ge1VUgvT9BAn8y2NCbLGZet8pJ2yJ C/7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=E8s9KGLE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q6si5480957edj.601.2020.05.11.07.36.11; Mon, 11 May 2020 07:36:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=E8s9KGLE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730326AbgEKOdr (ORCPT + 99 others); Mon, 11 May 2020 10:33:47 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:53732 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728683AbgEKOdq (ORCPT ); Mon, 11 May 2020 10:33:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Mwae2KvTbiEeDM+Ihkjwa5GcbZ/X5g2Mvj9LCuhgqwI=; b=E8s9KGLEyptNB/d8E5IWsylI7y PANj3gT/wxQj90IqmEmto+J2PAHmgVWdSU96Ejm6mfPoj2T1bTLYysFRJ/6JGWmWWkxzgMyd5ss9Y qi+CD92i3+DxWyAvR4bxcwQ28ylkMTFYWK6JbWQShVKTHCaeZ89ZlvXztsdIPwTNzA0Y=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1jY9Uv-001raJ-MF; Mon, 11 May 2020 16:33:37 +0200 Date: Mon, 11 May 2020 16:33:37 +0200 From: Andrew Lunn To: Oleksij Rempel Cc: "David S. Miller" , Florian Fainelli , Heiner Kallweit , Jakub Kicinski , Jonathan Corbet , Michal Kubecek , David Jander , kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Russell King , mkl@pengutronix.de, Marek Vasut , Christian Herber Subject: Re: signal quality and cable diagnostic Message-ID: <20200511143337.GC413878@lunn.ch> References: <20200511141310.GA2543@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200511141310.GA2543@pengutronix.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 11, 2020 at 04:13:10PM +0200, Oleksij Rempel wrote: > Hi Andrew, > > First of all, great work! As your cable diagnostic patches are in > net-next now and can be used as base for the follow-up discussion. > > Do you already have ethtool patches somewhere? :=) Can you please give a > link for testing? Hi Oleksij It was mentioned in the cover note https://github.com/lunn/ethtool/tree/feature/cable-test-v4 > > I continue to work on TJA11xx PHY and need to export some additional > cable diagnostic/link stability information: Signal Quality Index (SQI). Is this something you want to continually make available, or just as part of cable diagnostics. Additional nested attributes can be added to the cable test results structure, and the user space code just dumps whatever it finds. So it should be easy to have something like: Pair A: OK Pair A: Signal Quality Index class D Are the classes part of the Open Alliance specification? Ideally we want to report something standardized, not something proprietary to NXP. Andrew