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 81DA132E15F; Wed, 28 Jan 2026 03:52:54 +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=1769572374; cv=none; b=PoEoLXhqboOBZmWdWOTLcNE4GkF48polLzP58myHnPKlvQub0xK5md3cl9TWkqhwDph/IfupZUcUQl0K6E8mSvO+imber2H32Q/qOyNilwzzSq1AFQKAUpuG67N//710gI1Slc2ArRtDQSNJHduaMTORm2lSgwigjC9uxuqxMco= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769572374; c=relaxed/simple; bh=jUggg5iPwk0qCpwRp9Q4wouUEID54Fx5dRH+4L9Sn14=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=qNpVG3risFWfKTgH+1MiET/AwFgwS1D8Gdd1WFr6Z4qrJ/2yQcWpSGdoTcVHcXJChXmQByEbMrfFDUi0/EHrEMGhu5XTaBXbHhKcWuFM0kIVnS6Whp6/pHhGqTpX0sSTgsBTuPybxnTCNgt0WK043ej1ycAGp4k51vH4aYcSPKU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=J6Pv9mIr; 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="J6Pv9mIr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F1AAC4CEF1; Wed, 28 Jan 2026 03:52:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769572374; bh=jUggg5iPwk0qCpwRp9Q4wouUEID54Fx5dRH+4L9Sn14=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=J6Pv9mIrOM9YEoysqtlcd5JyKcJyySkBX9K4xYjNiBungQMRWxjD+aP/Rb72GrKey Y3KOrvqQuk7xQnTlga+OHs0XivBiLzK8SWuHNR9DTfSXhvr2pFzSa4klDbDhlVn+ae VaLdP8VZ0jEAmej94ggOp6z/xxPSNjfi0MM2LKQ1gAQWpaDcSMzrBB8ObRaMIQyp39 y0u8BVFMgzQ/0WUMgXzIzPbvrZuF0F6tTh+8SiFcPLYqFujLRZki2g+WSRXxt4aV8L I/HTB+4Y4OUSUfQbPoAsRyiw6tCE9vT3Sbsoix6gNlfvv/m58dk8xBkzYadbyxVviJ pvp0CZMg0owRQ== Date: Tue, 27 Jan 2026 19:52:52 -0800 From: Jakub Kicinski To: Tariq Toukan Cc: Eric Dumazet , Paolo Abeni , Andrew Lunn , "David S. Miller" , Saeed Mahameed , Leon Romanovsky , Mark Bloch , , , , Gal Pressman , Moshe Shemesh Subject: Re: [PATCH net 3/3] net/mlx5e: Account for netdev stats in ndo_get_stats64 Message-ID: <20260127195252.10fa054e@kernel.org> In-Reply-To: <1769411695-18820-4-git-send-email-tariqt@nvidia.com> References: <1769411695-18820-1-git-send-email-tariqt@nvidia.com> <1769411695-18820-4-git-send-email-tariqt@nvidia.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-Transfer-Encoding: 7bit On Mon, 26 Jan 2026 09:14:55 +0200 Tariq Toukan wrote: > The driver's ndo_get_stats64 callback is only reporting mlx5 counters, > without accounting for the netdev stats, causing errors from the network > stack to be invisible in statistics. I cooked up a patch to fix this generically in the core... but I can't actually find any "errors from the network stack" that are accounted to dev->stats. Could you be more specific about the issues you were seeing?