Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp577578ybs; Sun, 24 May 2020 14:30:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJ80UXxEfjC48G4zFls4OKVhU0iEsq7HKttcKwpgX2MrPHdGGdmtAIpvlHQUXJ+pnJEVeA X-Received: by 2002:a17:906:3e02:: with SMTP id k2mr12275745eji.412.1590355821942; Sun, 24 May 2020 14:30:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590355821; cv=none; d=google.com; s=arc-20160816; b=uBHdtJwLaxTRutHm9HzlzPvWff+rlkEFcPG/xMtTVljvFKnxh84wpWLcVlX0JWS33W o94TuGaANFAbm7mCfSlazFGigW3+GIGTjSOA5UkeT36W1pTE/YvosYb4fi1iAJnKf719 X1UJjBpYe0cOQ4V/cLEWBgPDh8CdhjB90HpPb8G/V6Lp+xSewsknV6Sw5IjEAVHcgDzP InWRRjTTBaOlRhGJ//S7SBbwB2XQJgxhmzih5TDtioGABPN1kkh0hV+s3AsVIe4Il8lr UohanKPVc8eH/87KWTLTvoKHiMB4nkYQbGY72ji76pEQYvzkezBO6Qrm4FnXJ1pMG8Tu 5dLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=E2dAU1jXqtYgbZrNPUyqsqBC7xFYdFsCxgtooTg5UdE=; b=AQ80ZKHS5XXTEur3NFrf0Nle9QwNP3cwRSqXldnLdiwWkzXEwQg56cCkVk6gorsFvT jdDO2mtX/9W8WgWfdd1CiXR2gpNz0HgehPs4eg7bpLf6F6cpp7yAf4CVWfJ5RrxK7VOg Azd8NfOgpznjyMEZHQ4qhIULtPLuN7oyOxl4xZV4yTK0OK1v5hQOYUapUL6a+cFqOgba o+wkp93D1ZwjACxIWMOS9gHv13atJ1R/+0MpNxZ5NlcRHLLegFzxg83GDCXeZQ7JxaOH rWZIdK75aMgmpGUWwyMUtG3X+E2PbQ6lloCUhF++sK0e/Lqq/VPD1E15R8n9KgxBTXkx WACA== ARC-Authentication-Results: i=1; mx.google.com; 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 k4si8382007edi.24.2020.05.24.14.29.57; Sun, 24 May 2020 14:30:21 -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; 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 S2388187AbgEXV2A (ORCPT + 99 others); Sun, 24 May 2020 17:28:00 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:57578 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387830AbgEXV17 (ORCPT ); Sun, 24 May 2020 17:27:59 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 3E8EB1C02AB; Sun, 24 May 2020 23:27:58 +0200 (CEST) Date: Sun, 24 May 2020 23:27:57 +0200 From: Pavel Machek To: Christian Herber Cc: Oleksij Rempel , Andrew Lunn , "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 Subject: Re: signal quality and cable diagnostic Message-ID: <20200524212757.GC1192@bug> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > The SNR seems to be most universal value, when it comes to comparing > > different situations (different links and different PHYs). The > > resolution of BER is not that detailed, for the NXP PHY is says only > > "BER below 1e-10" or not. > > The point I was trying to make is that SQI is intentionally called SQI and NOT SNR, because it is not a measure for SNR. The standard only suggest a mapping of SNR to SQI, but vendors do not need to comply to that or report that. The only mandatory requirement is linking to BER. BER is also what would be required by a user, as this is the metric that determines what happens to your traffic, not the SNR. > > So when it comes to KAPI parameters, I see the following options > - SQI only > - SQI + plus indication of SQI level at which BER<10^-10 (this is the only required and standardized information) > - SQI + BER range (best for users, but requires input from the silicon vendors) Last option looks best to me... and it will mean that hopefully silicon vendors standartize something in future. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html