From nobody Wed Sep 17 03:36:11 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 493DEC4332F for ; Fri, 23 Dec 2022 03:04:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236028AbiLWDEl (ORCPT ); Thu, 22 Dec 2022 22:04:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236020AbiLWDEi (ORCPT ); Thu, 22 Dec 2022 22:04:38 -0500 Received: from mxct.zte.com.cn (mxct.zte.com.cn [183.62.165.209]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CD6F2EF8E; Thu, 22 Dec 2022 19:04:37 -0800 (PST) Received: from mse-fl1.zte.com.cn (unknown [10.5.228.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mxct.zte.com.cn (FangMail) with ESMTPS id 4NdX8g5Mbhz4xq1p; Fri, 23 Dec 2022 11:04:35 +0800 (CST) Received: from szxlzmapp01.zte.com.cn ([10.5.231.85]) by mse-fl1.zte.com.cn with SMTP id 2BN34SUU089245; Fri, 23 Dec 2022 11:04:28 +0800 (+08) (envelope-from yang.yang29@zte.com.cn) Received: from mapi (szxlzmapp02[null]) by mapi (Zmail) with MAPI id mid14; Fri, 23 Dec 2022 11:04:29 +0800 (CST) Date: Fri, 23 Dec 2022 11:04:29 +0800 (CST) X-Zmail-TransId: 2b0463a51abd4d9c7598 X-Mailer: Zmail v1.0 Message-ID: <202212231104299193047@zte.com.cn> Mime-Version: 1.0 From: To: , , Cc: , , , , Subject: =?UTF-8?B?W1BBVENIIFJFU0VORCBsaW51eC1uZXh0IHYzXSBkb2NzOiBwcm9jLnJzdDogYWRkIHNvZnRuZXRfc3RhdCB0byAvcHJvYy9uZXQgdGFibGU=?= X-MAIL: mse-fl1.zte.com.cn 2BN34SUU089245 X-Fangmail-Gw-Spam-Type: 0 X-FangMail-Miltered: at cgslv5.04-192.168.251.13.novalocal with ID 63A51AC3.000 by FangMail milter! X-FangMail-Envelope: 1671764675/4NdX8g5Mbhz4xq1p/63A51AC3.000/10.5.228.132/[10.5.228.132]/mse-fl1.zte.com.cn/ X-Fangmail-Anti-Spam-Filtered: true X-Fangmail-MID-QID: 63A51AC3.000/4NdX8g5Mbhz4xq1p Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Yang Yang /proc/net/softnet_stat exists for a long time, but proc.rst miss it. Softnet_stat shows some statistics of struct softnet_data of online CPUs. Struct softnet_data manages incoming and output packets on per-CPU queues. Note that fastroute and cpu_collision in softnet_stat are obsolete and their value is always 0. Signed-off-by: Yang Yang Reviewed-by: xu xin Reviewed-by: Zhang Yunkai Reviewed-by: Bagas Sanjaya --- Changes since v2: - refine patch subject and git log, thanks to Bagas Sanja= ya. Changes since v1: - refine patch subject --- Documentation/filesystems/proc.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems= /proc.rst index e224b6d5b642..9d5fd9424e8b 100644 --- a/Documentation/filesystems/proc.rst +++ b/Documentation/filesystems/proc.rst @@ -1284,6 +1284,7 @@ support this. Table 1-9 lists the files and their mea= ning. rt_cache Routing cache snmp SNMP data sockstat Socket statistics + softnet_stat Per-CPU incoming packets queues statistics of online CPUs tcp TCP sockets udp UDP sockets unix UNIX domain sockets --=20 2.15.2