Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp958561lqh; Fri, 29 Mar 2024 02:33:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUkR9XVoCVh9RzijPfYXDM/weQKtfwU9p5YXSIFPS6FR12JFXSllQTbJctBynPDLrMth6d00rmLRqPOttgIA37QBvoh2RtLcXDPS+p0Mw== X-Google-Smtp-Source: AGHT+IFIfFIO+KauJThCB/xGZbrx5ddUWEhfHXaHnql7DV/EEU5gAlBUXrNk0BvChAWJfzciKcI1 X-Received: by 2002:a05:6a20:d90e:b0:1a3:dc61:926a with SMTP id jd14-20020a056a20d90e00b001a3dc61926amr1883218pzb.54.1711704820194; Fri, 29 Mar 2024 02:33:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711704820; cv=pass; d=google.com; s=arc-20160816; b=NWJG9GhMo6V2Lcwjxhrz3f3RPXB5tH4V1O37WuXyn/VZ1MgWfhXj5y+vBG638GX4ef lvHweyoIr1g6XsycRwGD3QMRGsnUS5mgCiUu5hm3hDmqXQdr+T+PVzWtsp1J8VoNWl8k Oc8SJ+FMRJKmCDTVRjSyKEB2f02JTY+K1ttcJEcPxIfoFH+8SgAW9cXiQA4UdzMz/Y5n 52wfNNVo+ka+ajvirMLGitoTleUyjGlYD/tnz7x/9Q1075z0KF+IXLHrpvaiapgqOe0g 37WIPEVazQUZPe07aonb4KBK01eDFQOYqKN74vKubOLs0Gv5rx0Pbl37BOvdcUs/9ptm /R+Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=63iNxtk4lD7pE/u82UB3a+JNBTGIwSkJR95cLKZoqKA=; fh=Gb6LhhHAqoGsauLTdf+2Xduj4RKEJfeJ4o0PP2boGZc=; b=Lg7LM78tGxGQ3M9VlcVVyOv1nQEKDplmd8V4cByO4qJ6xkYc4kVXdH8WmBuGeg/tXV 8ymey45HqM6GZvcyhNrkMtDa276jrccBAUvy76UMH3fp0xa2oPHQPRFbzVTgrDp/FVuL cHJLrgkEHUKruE3xWSqpTg3VPUCcmjUmjB6OHxnr3ucoG5z5mfYs0oPz2JotPYmZeltC QRTYffbtEAswpAMqr19SzJc5zTemZVMK4KZLrV2aAUpAV2jS7e6lrrR0r1mA6SnGZEJf u8I2ZPmQFbeXovJ5ER0cfFw7NVyXBi+VzrUcd+hQJ0vv1HAQoWqsQVFYCOIE0b0lFB7I XnJQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=C+zttx7G; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-124349-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124349-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id fb31-20020a056a002d9f00b006e6bcbccd85si3584328pfb.22.2024.03.29.02.33.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 02:33:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124349-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=C+zttx7G; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-124349-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124349-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 04935B21160 for ; Fri, 29 Mar 2024 09:33:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 107E34D9E8; Fri, 29 Mar 2024 09:31:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="C+zttx7G" Received: from mail-ua1-f50.google.com (mail-ua1-f50.google.com [209.85.222.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D4D50481C4; Fri, 29 Mar 2024 09:31:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711704684; cv=none; b=bvat0Fnv6WbHDQV6d2I6RADkrnPuznhYqnsBBw/3iyyLvqYUaQl7DlMTb1TaAS0Y1qy2tu094Swkk12vZAkZA+mRTAxxZtUFE6dGlZzurIwbhPaKYEV8FHDjjRNsPrBUC9fsM8OOdnerKeQMjYpj/4qrp4/Df62ak836SYUG/6A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711704684; c=relaxed/simple; bh=63iNxtk4lD7pE/u82UB3a+JNBTGIwSkJR95cLKZoqKA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=pa4XgkdRAy0byEPB82oZshtO/DOKAy7ymEl4Y6MwHUlVDmYokWHkWEgu3/JylxLKSuaMRDl844rzmNx9tGqoVS/woBj98MlPMTdx6GsBVEPMuV/g/oCe9g/FYY4ip1XGX5PKCK8yFZ/vkFxtW9nK2cPEn6rHJ1wK3DZGO1ShulE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=C+zttx7G; arc=none smtp.client-ip=209.85.222.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ua1-f50.google.com with SMTP id a1e0cc1a2514c-7e08498aa43so640367241.3; Fri, 29 Mar 2024 02:31:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711704682; x=1712309482; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=63iNxtk4lD7pE/u82UB3a+JNBTGIwSkJR95cLKZoqKA=; b=C+zttx7GGKWILaAHdYmIbqa/ceMikdAAjVIb885yuHlCe951b9T30F3/isfk5AjxC3 SmXXbw59QrFL5vf8ewP1VHs6mWDxZIpoTIWHBCyXKgNPfBxAs1NorQfYX3tkcih44+GN JmJua9ErmJjFT8FiY1lY/E4YKpsmxpTdzEwuvpymii7sWFwlcIt+5z+CYJyZTFmwux1U D6yPt8jYMkPxeN2B9sl82BdwKk5VzDIVjKMoaKGchblHWXoC3xaU0gD47msA0lWGnNfW N9ZaonyAcrZFN7Q72UQQCX2jy8UfMUAfeWK4/K6r+QUUbYIO8DwzfM3zuTv/tsXwE8Ev PAEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711704682; x=1712309482; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=63iNxtk4lD7pE/u82UB3a+JNBTGIwSkJR95cLKZoqKA=; b=R8FrWI8lzd9FRuOHcOW37O8uX5VkOwUCYwQF5X1Sl0Q5mAxJaWyzUXBBpas1fMwj2N kHZwLNYFPM1E29k0OpMoAFzNPVwGnSxDA6ABuYrgV6wT9qNpo9HYpYsOMJazvnyBZnqa Cfnw782vMUzj0FJEhqI4dVSjJVKRN+bBerF+V4koivmeCMvAEh00KhlPgrMXJpedyHxQ GH4FH76c0lNVYIs6ssM4KeANFwV/nT0lyUWghKaKkFA3zYvSeZLp+XsYIxlnrHiQhVlp +253J5yR8Mm02s0z7rUV5GQqVpIBY+zAlc57ltskJtDmYrxW33mo0rDgBwhwz2Wioguk LjOQ== X-Forwarded-Encrypted: i=1; AJvYcCWIP8oQBdktmDF8u5xizgb/jftPwnnoTqBzT7V8zFUJ6EYj3JTqR5ieohpdaMv48ZZ5/jWI7UFOtXvo48U44Z/MTbMSzEQC8FM+pSGB X-Gm-Message-State: AOJu0Yzf66Lu7SwV5Wcj1YNhVWwel67kTkph7oX76F8mmH8m9QrzqgM1 jIRilt0IPzJe8yIxuMGqrTdC+LlEXstSkfWK8Z/rtFm1dxNMhBX4USmzrMGVbf84q8c6Ntk/ja9 +n/pnfV/Kz8Gr59egCADjJhJkTlFWxj2991iPmQ== X-Received: by 2002:a67:f85a:0:b0:476:b0b4:32b2 with SMTP id b26-20020a67f85a000000b00476b0b432b2mr1452874vsp.8.1711704681723; Fri, 29 Mar 2024 02:31:21 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240327162918.2426792-1-paweldembicki@gmail.com> <20240327162918.2426792-2-paweldembicki@gmail.com> <20240328190226.7aab8b76@kernel.org> In-Reply-To: <20240328190226.7aab8b76@kernel.org> From: =?UTF-8?Q?Pawe=C5=82_Dembicki?= Date: Fri, 29 Mar 2024 10:31:10 +0100 Message-ID: Subject: Re: [PATCH net-next v2 2/3] net: ethtool: Add impedance mismatch result code to cable test To: Jakub Kicinski Cc: netdev@vger.kernel.org, Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Paolo Abeni , Stefan Eichenberger , Dimitri Fedrau , Kory Maincent , Maxime Chevallier , Shay Agroskin , Ahmed Zaki , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable pt., 29 mar 2024 o 03:02 Jakub Kicinski napisa=C5=82(a): > > On Wed, 27 Mar 2024 17:29:13 +0100 Pawel Dembicki wrote: > > This commit introduces a new result code: > > ETHTOOL_A_CABLE_RESULT_CODE_IMPEDANCE_MISMATCH > > which represents the results of a cable test indicating abnormal impeda= nce. > > I'm not a cable expert but going purely by the language > abnormal !=3D mismatch. Mismatch indicates there are two > values we are comparing. Impedance mismatch can be detected because some parts of the cable may have different (abnormal) impedance, causing reflections at those points. Ethernet cables should have a characteristic impedance of 100 Ohms, so any mismatch from this value is considered abnormal. I can provide a rephrased version if the commit description was not detailed enough.