Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2242201rwb; Thu, 8 Dec 2022 22:45:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf64fYFPaRtYi3st+62Ga3RFLM+AmVIaX1lewjRlEytl1N9djnAgxeWWfcPg9rEbvDqqT71y X-Received: by 2002:aa7:cd8d:0:b0:45c:835b:ac6a with SMTP id x13-20020aa7cd8d000000b0045c835bac6amr4120883edv.37.1670568317706; Thu, 08 Dec 2022 22:45:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670568317; cv=none; d=google.com; s=arc-20160816; b=xXZNq4viQ9qQCii/GPudvhkXAYaIoZBOM0H2KAnkBMW2CNBPPusNjxBW/hoy8UXQX0 PwrH91DOEUJkNELHvMMYQBeCwCahKm1FejxVOM+CZsQUH6+nl09/SDOaAT3vYkfTBHEo iN3m2HQcDP+1170ji7S82omvWZvHwRBUYXHVIA0tqDuTI95RfRzvQW/0VnvhEv1/sRQy iAeux6w56u9w8SEJCyzrDw9PoCybQXKMXc/hSv7BodmN7FGM/xlSX8xUzszUrNp1xSnZ t/QcqUAWN1nOBYt2PdQdAKpDw5dpcr3bgHC8/w2X/fn5trm5YdgmvVn5xqC6yavoTNU4 va5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:mime-version:message-id:date; bh=Zbhd81p3VsgQKaZAbzIWGPQsDPPWceR0zXe6ydml2Mo=; b=B53l6jBXZcy/6P5h5GE5DOXKFnuLccnJdfqp2HM4ILhy8edI0Aa6r/bUcmV4e74XAp ykAeqIgmT6w+e8xjPVtcPanwZQ8ZlD4fHMpvJhVp1Z3XZZBjqv6TUbKyZSDtWznJJqRU D5xmmxwflh9TGdpSvrOrZrMYU3q7Dnw4JmqwPE2abRAfNNz45lxjYuk8zMcYuOBK/95q VOPyEXb0DmpLd4HpAZWLVNKMn8Wioy/9uQtL0K7QIAz2PiFogB3yx/8/EywM135XVEYI Htoz4yYjLbWCdN8kPIFhaD6INWsvrrjIug3Hi75PYLfaQgjzG/+/oCXSZFAj8nr3WG2e 8cRQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zte.com.cn Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v14-20020aa7d64e000000b0045d46f28533si676900edr.377.2022.12.08.22.45.00; Thu, 08 Dec 2022 22:45:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zte.com.cn Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229674AbiLIGWI (ORCPT + 74 others); Fri, 9 Dec 2022 01:22:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbiLIGWG (ORCPT ); Fri, 9 Dec 2022 01:22:06 -0500 Received: from mxhk.zte.com.cn (mxhk.zte.com.cn [63.216.63.35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BA9F79C8D; Thu, 8 Dec 2022 22:22:04 -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 mxhk.zte.com.cn (FangMail) with ESMTPS id 4NT1By1vc0z5BNRf; Fri, 9 Dec 2022 14:22:02 +0800 (CST) Received: from szxlzmapp01.zte.com.cn ([10.5.231.85]) by mse-fl1.zte.com.cn with SMTP id 2B96Lp24051011; Fri, 9 Dec 2022 14:21:51 +0800 (+08) (envelope-from yang.yang29@zte.com.cn) Received: from mapi (szxlzmapp04[null]) by mapi (Zmail) with MAPI id mid14; Fri, 9 Dec 2022 14:21:53 +0800 (CST) Date: Fri, 9 Dec 2022 14:21:53 +0800 (CST) X-Zmail-TransId: 2b066392d40120621de8 X-Mailer: Zmail v1.0 Message-ID: <202212091421536982085@zte.com.cn> Mime-Version: 1.0 From: To: , , Cc: , , , , Subject: =?UTF-8?B?W1BBVENIIGxpbnV4LW5leHQgdjNdIGRvY3M6IHByb2MucnN0OiBhZGQgc29mdG5ldF9zdGF0IHRvIC9wcm9jL25ldCB0YWJsZQ==?= Content-Type: text/plain; charset="UTF-8" X-MAIL: mse-fl1.zte.com.cn 2B96Lp24051011 X-Fangmail-Gw-Spam-Type: 0 X-FangMail-Miltered: at cgslv5.04-192.168.250.138.novalocal with ID 6392D40A.000 by FangMail milter! X-FangMail-Envelope: 1670566922/4NT1By1vc0z5BNRf/6392D40A.000/10.5.228.132/[10.5.228.132]/mse-fl1.zte.com.cn/ X-Fangmail-Anti-Spam-Filtered: true X-Fangmail-MID-QID: 6392D40A.000/4NT1By1vc0z5BNRf X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- Changes since v2: - refine patch subject and git log, thanks to Bagas Sanjaya. 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 meaning. 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 -- 2.15.2