Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp687213rwb; Wed, 7 Dec 2022 03:57:11 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Niu0OoqB9eMMs4DXduASF+JQ1SC0mEfZMSM01iM/tHEIpW0CQqutCjZ1YUVqiFA9MZLAl X-Received: by 2002:a17:906:9bed:b0:7c1:31d:315 with SMTP id de45-20020a1709069bed00b007c1031d0315mr7695839ejc.389.1670414231483; Wed, 07 Dec 2022 03:57:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670414231; cv=none; d=google.com; s=arc-20160816; b=Cj6DK9VHG/2+v4oBW4Edz/x6fCwSwBvDFlTW1auAhml9hB0DtdUJQMZ4Qlokd/aTOo rhBlMhviXKhaEkm5ZIUfHSy+mJLNHWqhO4ITbcFukO/JNOXl7oWmvaEyOuUUm9cdir0J 90oZLvn1pDL5TrevVKofVpmY7zYEcTyStGbYP+WxKKlFovAehZGV7NHfasYmHTvNqurn P9Dxo1wOtcvJTxaykf0HX0cFdcCEsMREyvNaqf2oPcq9Ox8b/hPjjcxDY4BFtqnj4ydU PJXPOGgqw3wm6XAmmcXsAoZIWOlOQkadusTKaiGXJXz57pnf+A7eOsGxDT+yFz55Jj/n rm2Q== 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=UdBW85kFskGa8nK+xMSNDKCFymFu2VuMTm5eYnUMPxg=; b=WAwedKRyAS5x+cHXZSpv7Fjd3fPGjmY9HHQSEu0UjQvxMX3Px8pq9E9pLXCi+/eJ7g FFSQICeVhRYKCpufAXZNXMzTxgowpoMIsmHRULUDrRDiVUPR3NNnfT3rnfV8QcMkUKQW xrNo2kGAC2cKyrUvEOSAjv6EX7hNhckBw1lLjmeeaNeFU0Ba2RIltYN+c5K6sK39h3Nr goZQTQQQZclm/ieyVyerPilrGtAfgfxR1WxRL+BJDdTaxjnfteQno2RZDm/3cJzA4Alb s7wY8kYa1xN2LFd1b6EqboSN57L28bDCWckmkYYuBuDBN0AdEqsNRhm7d7wb/cDHtU/y 33OA== 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 gn12-20020a1709070d0c00b0078dcf11ccf7si17308307ejc.802.2022.12.07.03.56.53; Wed, 07 Dec 2022 03:57:11 -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 S229885AbiLGLXl (ORCPT + 76 others); Wed, 7 Dec 2022 06:23:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229751AbiLGLXc (ORCPT ); Wed, 7 Dec 2022 06:23:32 -0500 Received: from mxhk.zte.com.cn (mxhk.zte.com.cn [63.216.63.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55973228; Wed, 7 Dec 2022 03:23:30 -0800 (PST) Received: from mse-fl2.zte.com.cn (unknown [10.5.228.133]) (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 4NRvzg3QsYz8RV6B; Wed, 7 Dec 2022 19:23:27 +0800 (CST) Received: from szxlzmapp06.zte.com.cn ([10.5.230.252]) by mse-fl2.zte.com.cn with SMTP id 2B7BNF5m061437; Wed, 7 Dec 2022 19:23:15 +0800 (+08) (envelope-from yang.yang29@zte.com.cn) Received: from mapi (szxlzmapp02[null]) by mapi (Zmail) with MAPI id mid14; Wed, 7 Dec 2022 19:23:18 +0800 (CST) Date: Wed, 7 Dec 2022 19:23:18 +0800 (CST) X-Zmail-TransId: 2b04639077a61acce282 X-Mailer: Zmail v1.0 Message-ID: <202212071923184146141@zte.com.cn> Mime-Version: 1.0 From: To: , , Cc: , , , , Subject: =?UTF-8?B?W1BBVENIIGxpbnV4LW5leHQgdjJdIGRvY3M6IHByb2MucnN0OiBhZGQgc29mdG5ldF9zdGF0IHRvIC9wcm9jL25ldA==?= Content-Type: text/plain; charset="UTF-8" X-MAIL: mse-fl2.zte.com.cn 2B7BNF5m061437 X-Fangmail-Gw-Spam-Type: 0 X-FangMail-Miltered: at cgslv5.04-192.168.250.137.novalocal with ID 639077AF.001 by FangMail milter! X-FangMail-Envelope: 1670412207/4NRvzg3QsYz8RV6B/639077AF.001/10.5.228.133/[10.5.228.133]/mse-fl2.zte.com.cn/ X-Fangmail-Anti-Spam-Filtered: true X-Fangmail-MID-QID: 639077AF.001/4NRvzg3QsYz8RV6B X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, 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. Notice that fastroute and cpu_collision in softnet_stat are obsoleted, their value is always 0. Signed-off-by: Yang Yang Reviewed-by: xu xin Reviewed-by: Zhang Yunkai --- 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