Message ID | 202212231104299193047@zte.com.cn |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp110940wrn; Thu, 22 Dec 2022 19:12:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXtIvv3BE9lJxva0p1HvThGPLAzCkNLn4sd7ts69aT/MICfMrP1bPYGikJM2GeEPPvrZRFYl X-Received: by 2002:a17:906:1d4a:b0:81a:c653:4a06 with SMTP id o10-20020a1709061d4a00b0081ac6534a06mr10080935ejh.66.1671765124864; Thu, 22 Dec 2022 19:12:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671765124; cv=none; d=google.com; s=arc-20160816; b=rKM6hsEHTnqds+SScOg3ttqQHuFI2J412vEAolqP0HICoI6Ni8dsyg445l/lkCpvgJ Q4StaH4wmfChB1BTJAtyVT8qLNAzvzUbQUIrORtRf87XOjnurH5hSHNG1F7HZS/pJ4KT oN6Vw3Rp1w+VP46+1zdswfUIfeW84s7zti+bqqsqxnmwb/70ZnYPsedS74sDpUOGpQB9 ySQyykVydVnY60tpBXKCG/rIXsICRMv0VfP926XAkh123iVFHoGGP+45v19iIMMm+oBL YBxcpdt/V4WCF8juLSXGcdMkw/Xm+SezC03lrIG7giKuCNeUpybHwzio6yXfNybjbH92 O5Jg== 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=iLVp/7q/qzpLklHBesZQflnecF2pNgZU3cn1Q25GtXp40Bb2As7v6zmCbB+lJUXUwZ 65+5O8duIqKceJtuM+/uP0jRtCisQPcql1MUM9qtVuucAs0H4JrO2+Sbrf1VdGIUaSZo mGLw2iOEjYV2G3Ab3QQCyyNXlYWIL2Uq9AvZS08XHsRLbDGFmOXRsvt3AZ2UwCr/Qwxh rJXJhspvutHqWse7f4JKMhGKIyMIYPCBzTQ1XVCT+kMDPCxhcfb4H/kQSEq7uj4M2CvG zKbz5IQ5neqA79aNVURfJlDLjbOfk7tyB0sQu9l83jG141MgVvROO410AuLQ3vnJH0i0 Diww== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mp26-20020a1709071b1a00b007d82520def2si1799661ejc.675.2022.12.22.19.11.41; Thu, 22 Dec 2022 19:12:04 -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 S235996AbiLWDEk (ORCPT <rfc822;pacteraone@gmail.com> + 99 others); Thu, 22 Dec 2022 22:04:40 -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 <rfc822;linux-kernel@vger.kernel.org>); 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: <yang.yang29@zte.com.cn> To: <corbet@lwn.net>, <kuba@kernel.org>, <bagasdotme@gmail.com> Cc: <davem@davemloft.net>, <hannes@cmpxchg.org>, <linux-kernel@vger.kernel.org>, <linux-fsdevel@vger.kernel.org>, <linux-doc@vger.kernel.org> Subject: =?utf-8?q?=5BPATCH_RESEND_linux-next_v3=5D_docs=3A_proc=2Erst=3A_ad?= =?utf-8?q?d_softnet=5Fstat_to_/proc/net_table?= Content-Type: text/plain; charset="UTF-8" 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/<yang.yang29@zte.com.cn> X-Fangmail-Anti-Spam-Filtered: true X-Fangmail-MID-QID: 63A51AC3.000/4NdX8g5Mbhz4xq1p 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752972787635806262?= X-GMAIL-MSGID: =?utf-8?q?1752972787635806262?= |
Series |
[RESEND,linux-next,v3] docs: proc.rst: add softnet_stat to /proc/net table
|
|
Commit Message
Yang Yang
Dec. 23, 2022, 3:04 a.m. UTC
From: Yang Yang <yang.yang29@zte.com.cn> /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 <yang.yang29@zte.com.cn> Reviewed-by: xu xin <xu.xin16@zte.com.cn> Reviewed-by: Zhang Yunkai <zhang.yunkai@zte.com.cn> --- 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(+)
Comments
On 12/23/22 10:04, yang.yang29@zte.com.cn wrote: > From: Yang Yang <yang.yang29@zte.com.cn> > > /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. > Thanks for pinging me by resending! Indeed I always forget to review this due to busy time. Anyway, LGTM. Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
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