Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp975667pxb; Tue, 9 Feb 2021 18:35:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJzNHmDSgw8gK1CBb2Ug/NLdUJdzzAi2CPZAsjM6jt26B5yCG0/KTJzrSzW5VcgmrNDUz6D6 X-Received: by 2002:a17:907:2a85:: with SMTP id fl5mr697340ejc.554.1612924513810; Tue, 09 Feb 2021 18:35:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612924513; cv=none; d=google.com; s=arc-20160816; b=VI/R5LT6HwaOQsG9Y3bcZKTJ7G7HpFgSLfL5tfRMvRsyxb4czJHxX7mLbwJrO3S3fV Qx7yoMk+s3uRmSOCtQY3NrtVVVmG4g//PhKpSjFmtmyvkzSbLHfQwx2vgraxjYHdMTLm TRdJY7lvAIMo388DlSR89N4mK0TZtDmU2G9W/QghpWBK8JF9vQZLgG1jXTNEoMPgGfJy /gQCv92u4v1MGw0F0JA40fBeVBBYI/dl2SNk/ZYeg5Og39PlDk3ZJvO372hMRP5YoF/h mcUEKuzHujNBdERHaDAulkcWir+hXrzcHN8mImtL3rlP3vJVh/2rTRIZcMBzWln4GgxQ fbXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=06ofOwxi8SSHSXoMr7pF7FumD/LXYa2/UpIf8z97Yr4=; b=d3ReS+qmLLENCvmgTCjPMEhzmHXH9trJQe7wMgJqxJ2ncildx7tyQK/AbJRB7EI1kO jg8D6mrjNvAsugwTSkliLHAaE+IJ68Q3CnrS2WrjfKUiThNtT0atIDuc8XOCq5T7rPKW sNOPUgLTc0G38IA9WG5f3BYjgiLmCZ6zYXQzyYQMirIfiFPfZB9IhhY0VZFO5GJiqGoo qbzd/hEsZe6Oj54qJXKsIaIdX0JmT9pWvqIFOdvNEOtngGTIu4+vrWbc0PCNJat+utc/ bL9dg353HCN2HZVT/R5DG0aXUpk5OlpzHTLeo6xsesMwzGAMj2DWvc86jjweeUxqnV0C Kkhw== 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 cc7si425069edb.462.2021.02.09.18.34.49; Tue, 09 Feb 2021 18:35:13 -0800 (PST) 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 S235421AbhBJCcz (ORCPT + 99 others); Tue, 9 Feb 2021 21:32:55 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:59242 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235262AbhBJCLQ (ORCPT ); Tue, 9 Feb 2021 21:11:16 -0500 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1l9exa-005E2H-M6; Wed, 10 Feb 2021 03:10:30 +0100 Date: Wed, 10 Feb 2021 03:10:30 +0100 From: Andrew Lunn To: Michael Walle Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski Subject: Re: [PATCH net-next 8/9] net: phy: icplus: add PHY counter for IP101G Message-ID: References: <20210209164051.18156-1-michael@walle.cc> <20210209164051.18156-9-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210209164051.18156-9-michael@walle.cc> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 09, 2021 at 05:40:50PM +0100, Michael Walle wrote: > The IP101G provides three counters: RX packets, CRC errors and symbol > errors. The error counters can be configured to clear automatically on > read. Unfortunately, this isn't true for the RX packet counter. Because > of this and because the RX packet counter is more likely to overflow, > than the error counters implement only support for the error counters. > > Signed-off-by: Michael Walle Reviewed-by: Andrew Lunn Andrew