From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8082C47094 for ; Mon, 7 Jun 2021 20:33:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8FEB761153 for ; Mon, 7 Jun 2021 20:33:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231319AbhFGUfk (ORCPT ); Mon, 7 Jun 2021 16:35:40 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:53192 "EHLO mail.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230454AbhFGUfj (ORCPT ); Mon, 7 Jun 2021 16:35:39 -0400 Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) by mail.monkeyblade.net (Postfix) with ESMTPSA id 567894F5F1FDD; Mon, 7 Jun 2021 13:33:47 -0700 (PDT) Date: Mon, 07 Jun 2021 13:33:46 -0700 (PDT) Message-Id: <20210607.133346.155691512247470187.davem@davemloft.net> To: kgraul@linux.ibm.com Cc: kuba@kernel.org, hca@linux.ibm.com, raspl@linux.ibm.com, netdev@vger.kernel.org, linux-s390@vger.kernel.org Subject: Re: [PATCH net-next 0/4] net/smc: Add SMC statistic support From: David Miller In-Reply-To: <20210607182014.3384922-1-kgraul@linux.ibm.com> References: <20210607182014.3384922-1-kgraul@linux.ibm.com> X-Mailer: Mew version 6.8 on Emacs 27.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (mail.monkeyblade.net [0.0.0.0]); Mon, 07 Jun 2021 13:33:47 -0700 (PDT) Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Karsten Graul Date: Mon, 7 Jun 2021 20:20:10 +0200 > Please apply the following patch series for smc to netdev's net-next tree. > > The patchset adds statistic support to the SMC protocol. Per-cpu > variables are used to collect the statistic information for better > performance and for reducing concurrency pitfalls. The code that is > collecting statistic data is implemented in macros to increase code > reuse and readability. > The generic netlink mechanism in SMC is extended to provide the > collected statistics to userspace. > Network namespace awareness is also part of the statistics > implementation. Why not use ethtool stats? Thank you.