From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 BC6F42EBDC6; Thu, 17 Jul 2025 13:39:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752759545; cv=none; b=cZRAnmILLx+mEx4KcekwF8MQDMY2bwD2pxVVnhfV6/4SOMzZ1BWc0CXAfaw8hIxt2I+w2QaxQAQS2vvVRobnOkzocs8uGiDr7bB+tKRuK73BD7dglvvSRcL5leFLR1VROm9kFL30uGxD2rHesLdYodilvlo+rdFyfiFNvbe9Z4M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752759545; c=relaxed/simple; bh=yLN7VF//2CVZZPmoMJ7VBKPuAA7aA4dv0y6POh5P3tM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nwgVbnsNUoq2oQaXMw2DjU31zXzTKf1L9ZCuH7TaGYBPEJNLqx2b88oD18zyn3Nec45vQqGJGZ+xcNC6njW2Ai1rbEsR+LinfYuCFe4XvpbTbsdjxxYEk7Nvvs2eQRPDwW0fK435KoHPzd6AjaGe9W4VmDSo2IRhcweu0sv6cKU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=Q+KJh1Wq; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="Q+KJh1Wq" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=lfFBam5+7+XtNm3Zq2vi9q8MGJfF20M+DYWOSgZx/tw=; b=Q+KJh1WqNBwy2WWan3Kc7Aj2yo rAwNzQN0U4ZpVzpocnC7ExYI46KBa7Arun4/bG7JTVA/RIatOEG4UBaREuYWToLZoyKyRKD5qaABD rToD3q+xu/avOqwMy8RTYPoWBLrRvTpukCshNTCkODKC8R6/9iS7Zec5Hr5BNkIZ8ddM=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1ucOov-001tOr-Un; Thu, 17 Jul 2025 15:38:45 +0200 Date: Thu, 17 Jul 2025 15:38:45 +0200 From: Andrew Lunn To: Luo Jie Cc: Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v3 1/3] net: phy: qcom: Add PHY counter support Message-ID: References: <20250715-qcom_phy_counter-v3-0-8b0e460a527b@quicinc.com> <20250715-qcom_phy_counter-v3-1-8b0e460a527b@quicinc.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20250715-qcom_phy_counter-v3-1-8b0e460a527b@quicinc.com> On Tue, Jul 15, 2025 at 07:02:26PM +0800, Luo Jie wrote: > Add PHY counter functionality to the shared library. The implementation > is identical for the current QCA807X and QCA808X PHYs. > > The PHY counter can be configured to perform CRC checking for both received > and transmitted packets. Additionally, the packet counter can be set to > automatically clear after it is read. > > The PHY counter includes 32-bit packet counters for both RX (received) and > TX (transmitted) packets, as well as 16-bit counters for recording CRC > error packets for both RX and TX. > > Signed-off-by: Luo Jie Reviewed-by: Andrew Lunn Andrew