From mboxrd@z Thu Jan 1 00:00:00 1970 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 C65D635C1AD for ; Fri, 15 May 2026 01:32:10 +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=1778808730; cv=none; b=PDWIhcVSOeQZz2HfiiZ6TWTBSAxpmpi7ErzhwsiArW83h4qLv9GKkhCl8PpN7YJJV/Apxpf98sRlQ42D8CuACTthGvB/RTDrlYHuKYLNx32p5l7n66QMs/GTWo7uXsS+y8ucX32C1MXFSxo7BxqydBW2eDr3eAuQNPTFOSmLObw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778808730; c=relaxed/simple; bh=hziJcy07T49JEzjtW7Gs8Tf25HTZrdijW1Yg0CAk0EE=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=hjeDos3MHqzYj3mqtnw1p84YwpaZp9hlAUZ/3XgKVBOw8B/1u5vzqd0s61QQf0CvJAnqd28t1GYcbXn4yMjtWa61IkliuPyXGyUjugEpK1IoMoLZ9TAF5Cmr1CyypF80zZH5GbkIylizwX8UWOJc0FxDTgDMvr0wfMJRxDeQMqk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CQhsIMbH; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CQhsIMbH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 045F1C2BCB3; Fri, 15 May 2026 01:32:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1778808730; bh=hziJcy07T49JEzjtW7Gs8Tf25HTZrdijW1Yg0CAk0EE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=CQhsIMbHuPz3JAWUrFijzfD8hgvJqDDaBf8JPLRxrhMQf4Pt6QdhIDc1iE5ZegORb bSB14ZIJh2C0EafAhvjycVIAe0BGc7Wp3X+s0Ok1B8p86vy7lnaiUqgnZwJMltpLEF H0HkMhbIjZ4fzsdQUDlEfCF0mfhQdKDsu/4V52dxTUSANy8SI9W/VKj1feJNlZ8wir /JTl1F7wNqbC0z08OnrqrHl16SCOhCvceRk5jKcNnS/eVD5UZlBqPzcPRkiB9sMVfZ Se6B3QRfNOst3sg6psWpkI5HmfZuMBN2Yrk60Tt4r0MeJSMb+8RcCiJfvjroN+qAve 0TgEmX41QAuEg== Date: Thu, 14 May 2026 18:32:09 -0700 From: Jakub Kicinski To: Eric Joyner Cc: , Brett Creeley , Andrew Lunn , "David S. Miller" , "Eric Dumazet" , Paolo Abeni Subject: Re: [PATCH net-next v3 5/5] ionic: Add .get_fec_stats ethtool handler Message-ID: <20260514183209.48fa771a@kernel.org> In-Reply-To: <20260512224421.25236-6-eric.joyner@amd.com> References: <20260512224421.25236-1-eric.joyner@amd.com> <20260512224421.25236-6-eric.joyner@amd.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 12 May 2026 15:44:21 -0700 Eric Joyner wrote: > This includes 802.3ck FEC histogram data that some newer > hardware collects. Ah. "Some newer hardware"? As Sashiko points out the standard stats are designed trying to avoid "does 0 mean unsupported or 0" ambiguity. You need to figure out if the device reports them and if not - don't set ranges.