Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp86801lqz; Fri, 29 Mar 2024 09:18:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUCIJXzxGjysdLAntuLpBYBEpHqlnxYtK9lR7mf9Nx5D3Am6J/qXdzkSlHN+60GBy25a1abakO5AA+vskEJFRYJjKMkxDG6egWhhcz4nA== X-Google-Smtp-Source: AGHT+IFbrf4vaIrdBEnW8lODo/OODhKcJBSjaHOSJZ++w73Wm19Akr81aWaBs/Hu6J2WW3Xoyax6 X-Received: by 2002:a17:90a:540d:b0:29b:961a:29c3 with SMTP id z13-20020a17090a540d00b0029b961a29c3mr2257567pjh.49.1711729097672; Fri, 29 Mar 2024 09:18:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711729097; cv=pass; d=google.com; s=arc-20160816; b=p4kfyn7vWE+RW8lRZsnZ/nLqQg6B6Nsg6FqiXTez3768+5eu9oHfrVq8OtX8g/WJK7 ZlmC1YuTeH3UzXIU3MFm4UO3KuAuLSIQAQ0ZxtDn1IJrWRAL/4zFT4eaweSXi4EnxhBx h6mNJp52H4dBbrGhWw3K6ax7ByFFMn0Q0gwoxQKE+TKr3yBUOSQ9+fKDcAguYN+ArQGb d/YVJsrKfie6fH4Z9YhkmYCj+Utg+LiFMH/QCaJpiQ1V24xXYfbnemeeFPzk5VwFNCUW N6a5vXLi8y/h7Z06V+AkuSHT8oT/bPmh3sLIZr06B+fPHV8C2YXg68vcQ6DjsbFpSsRr xe6A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=iY/rcKU9DweBFcuokJdWYvhSzphuNeIqLpvKFobXslI=; fh=zy/SHNrP3/izyAPQtXTUdswB4UXbaSAFUwWCDZTLvm8=; b=ExObHRI+qsWCxMRoq5GmX4b7TdRUhm0TlfHT1nrq+Q2dkN2Bu90jMVJIDpfGM+y0Lx 2XTWW7PkCmuCjkt6oNYpbor3dX/aZe+YYMRIXaef722Nuan4ob7nfXekpEnJdzFOAMWz YkkuBpxJfNHiFuIXLVX6Ld+VHRs2n+dlPAVkj2EySIJnwXzXGTm2+F1rMt+ew42Tj6DU dZWIDdbx1SHtu/gJaC7XftwQW4e9HPCrJGanlen1oDkGodNjkQLNQrmreJKAYsf8KZke c6cM9nXuFqtijj9H3gKKFiW/h1/WK+33uOHB2NWLXruaO/qnjA3Ap4AZiR6VwAe7iWZH ypiA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cjnA5F4d; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125115-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125115-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id f36-20020a631024000000b005eb4d2501c7si3853734pgl.693.2024.03.29.09.18.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 09:18:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125115-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cjnA5F4d; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125115-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125115-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 C3485B26FFF for ; Fri, 29 Mar 2024 15:22:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CD8BB13A3E7; Fri, 29 Mar 2024 15:11:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cjnA5F4d" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 EB34741206; Fri, 29 Mar 2024 15:11:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711725061; cv=none; b=gC0L2sGfwH606Ok4XUYR5AJlGhJ5GTHHs9m13DTpN7OyKw3r0/pR90GM5Dbz2h04efoask1RKbtPYvSvpPMgNEDXVyaugVO724b/CKfQr43mCtdFaudsdA70YEmOBK2Y5PPzqYgspFZs9AwyiemHOV+iFVuXK72D8KSL+fVJ39I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711725061; c=relaxed/simple; bh=iY/rcKU9DweBFcuokJdWYvhSzphuNeIqLpvKFobXslI=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=cFewDfqjPhVHJwiWg2cpPNex0T+pcWfpPa4FL84OvNB9KF/MDul4rM6DxxRlx260BtOyYdtOLCd7fAQUkwbXlUH+RALG9UuZFeaU0gBHUymJOryjGRwd+6VLMIfpaVRodGEfaxf2QOuvLMyeL4MHowAFPXDI+mdaiXpQnV7iG0Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cjnA5F4d; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A8B28C433F1; Fri, 29 Mar 2024 15:10:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711725060; bh=iY/rcKU9DweBFcuokJdWYvhSzphuNeIqLpvKFobXslI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=cjnA5F4d7NKRGXPMI9496JDKcnXoAGOMe6p8Q/qKQoHp3UQfVlxhg9gt1UzgUAOJI 1QlEorcRlUEfMd7LHy4rSticw10UyAJcBUAC6TF15uMZ4E78Vb5qRGO7hff0PWX8KL 7Puc+G69aL3gRlBg1WLXXziR+/GK0yE27weDANTHJpKIXy26ViNj7c2dANkXtXH38a e9EJ5Tv5ZaqYBtuwjKYMgWpg9myhoJa4Y5RuHA0FhDJCKBmraCFnmEgsX7CHjXKOyd G0Dd257NK9sJxTdDrND+hyOMgiSnMF8c4cDI3UKWrdPk10L/y/dnZU4L2nzztA2KGT 8hcCQq2Zwq2jA== Date: Fri, 29 Mar 2024 08:10:58 -0700 From: Jakub Kicinski To: =?UTF-8?B?UGF3ZcWC?= Dembicki 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 Subject: Re: [PATCH net-next v2 2/3] net: ethtool: Add impedance mismatch result code to cable test Message-ID: <20240329081058.15ee0f1d@kernel.org> In-Reply-To: References: <20240327162918.2426792-1-paweldembicki@gmail.com> <20240327162918.2426792-2-paweldembicki@gmail.com> <20240328190226.7aab8b76@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, 29 Mar 2024 10:31:10 +0100 Pawe=C5=82 Dembicki wrote: > > I'm not a cable expert but going purely by the language > > abnormal !=3D mismatch. Mismatch indicates there are two > > values we are comparing. =20 >=20 > 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 see, makes sense. > I can provide a rephrased version if the commit description was not > detailed enough. That'd be great. Or maybe even better a short comment above the enum entry?