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 6E42CE56E; Wed, 3 Apr 2024 01:23:53 +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=1712107433; cv=none; b=ADR8MG1a01D7q9Tr7cVF2SWOuPBeb9R/x8OT3lbTdLXfYZMIwurkgEZVhJn8jCgzsu6r5t0egtyCwqhvPk/+LKwL4rouo2R6x3dPzZ13R60c/IPrQY+Pobv5Q75B8bwZQQ1ypXHPVFCO62ZzGcHfSJi+WQmwca2Bd5Mk6mgR6go= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712107433; c=relaxed/simple; bh=Yy3W35jtTdyObIhJ/w2Brxj+AIW5aDDLh0ei+LhZZUo=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=drom+z7sAIejHcBeR1T009EmVa5NNBjuY9drx4sdbY+56FFTRLZVljTXP0eT+aHwAeIBVf+ASoeHFfRrQyl4rQabGAvzepQjcJWgLbuPS67kg1mPIhRVaP0IA35zPqPbxZP9IglikOCeEDZvGS0S2uxfI3d1u4RVXQCndwxtjNM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=SIWb1X+D; 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="SIWb1X+D" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 769A7C433F1; Wed, 3 Apr 2024 01:23:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712107433; bh=Yy3W35jtTdyObIhJ/w2Brxj+AIW5aDDLh0ei+LhZZUo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SIWb1X+DZwHj4mHi9J3FOltBIYLuYyWy5XHMgk6IGbuxD7JDxd6Vcze3wRIHkmlKB eVMUSkF1MF+ueaF6HjJq9TqXB7TcgnrlyhXUeUlbgFd/3UcxAGIcc59vEhd3gfA6jt S1IyofvTDw5rTYFznLP0lY8gYUSo8n/fU10QO0F3rPnxqfFJx0MoaoEgJT3VtFgocD sZ6QcH0rQNEjgoWY8RZTdedkLHdatfzIrPLETbDluALQGK4SMzLxMHW52E0LwET4yU kRrhTYOLHEv9S5kuwUUp4e76ZIExuJXfW0j3VPBA9cxD7+1gLGx3r6Ga1fdwxN8vOx qnzAvh/pG5eGQ== Date: Tue, 2 Apr 2024 18:23:51 -0700 From: Jakub Kicinski To: Minda Chen Cc: Alexandre Torgue , Jose Abreu , "David S . Miller" , Eric Dumazet , Paolo Abeni , Maxime Coquelin , netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 2/2] net: stmmac: mmc_core: Add GMAC mmc tx/rx missing statistics Message-ID: <20240402182351.031f5b59@kernel.org> In-Reply-To: <20240401024456.41433-2-minda.chen@starfivetech.com> References: <20240401024456.41433-1-minda.chen@starfivetech.com> <20240401024456.41433-2-minda.chen@starfivetech.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 Mon, 1 Apr 2024 10:44:56 +0800 Minda Chen wrote: > + unsigned int mmc_rx_control_g; What's control_g? If it's number of received control frames it should be reported as MACControlFramesReceived from ethtool_ops::get_eth_ctrl_stats.