Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2696601iob; Fri, 6 May 2022 08:30:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6d9C/CEW8CKZAumB+d6CMcQD4U0imcMDmC51BDvPgDwqWjObLLvCK25Tj2cSzlJkaLBzB X-Received: by 2002:a63:8b4b:0:b0:3ab:25dd:3836 with SMTP id j72-20020a638b4b000000b003ab25dd3836mr3205816pge.112.1651851057677; Fri, 06 May 2022 08:30:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651851057; cv=none; d=google.com; s=arc-20160816; b=L6FYSod8nWO55w1vBs+ZhzTjcdXNtEHXo/fl761Dz4wOlkYa8VcfTshxNaIP0yBb8I NIujI/NGcM71Kkmab5ZE027WhEOAuGjCeIFsi3bf+0bYjAQVZNvtEAZmNfUpOHNxJYTd 7Ngjw9/5P0/8InYPp7MsZJurgI3JCS7PCe+jpLa8HE9ycFrYw9usB6ys5TJLvSJK0Tp7 f7Rkm0yVqtUiTz4C+oV5F20sfMFL1ob9juaMtu+q0h9iLNDTqT8pRc2J5VW9XRswdYf+ qakKpn8C2JypFf8Y70klEjZnlEM4QEhjdcEi5H7hxwPuIcQXO0iotwDtAThcgsJ0/gvt zq5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FXnVciHi1BeC9OQGqN0ZXnjBw90BfiK1awUcDweGloY=; b=oq2hretQ/Ib/mVScW6VuQ4Ius+U9qoxcyK7j1KE16DeJN6QztZJ5I/FjbszFW+gWYJ DW/K7NT9+/d/6nBo5LNwGVNBD4//5L4TB+xTq2mkhiBTN6FCq2LV8b+EUIQKoKGDvZ53 Zg06+k/FdiRFcil+lWUIb8qkgmAH3nYzqLnrqtfRFfz6ph3jT02MYc6MglPfMaHVfPEH dk8iZkYlZnuWUSU8mFVqCRpRogcL+GCjM+SvcPu1PVofhL1azazN8NOMhiOidq2vUkXl oR85U2+LLHBRaBP9u93A1gBaHh+1lN7izsBd8MTGWOi8hXNkmNfyVeXsKpgvEy4kdu38 zcqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=ftp+1IGD; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mi2-20020a17090b4b4200b001dc8b6d4936si5386220pjb.11.2022.05.06.08.30.33; Fri, 06 May 2022 08:30:57 -0700 (PDT) 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; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=ftp+1IGD; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382064AbiEFGtL (ORCPT + 99 others); Fri, 6 May 2022 02:49:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381506AbiEFGsj (ORCPT ); Fri, 6 May 2022 02:48:39 -0400 Received: from smtp-fw-6001.amazon.com (smtp-fw-6001.amazon.com [52.95.48.154]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96ED266ACE; Thu, 5 May 2022 23:44:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1651819497; x=1683355497; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=FXnVciHi1BeC9OQGqN0ZXnjBw90BfiK1awUcDweGloY=; b=ftp+1IGDWU/0YFjqy+5c0/IlxEgkM7Y9GHxbFg4M9mpOZXVdTfhyyymd QGFaERVGEygvwsaL8CPjtTx7mx76EGeSEkd5qRprD97mfEo1s0se/XYFr i9auM0gbyXTalP1NiX/PDEPQXvMygbEhKbpa5Ut5UJPOtKea+xbtuqkkq c=; X-IronPort-AV: E=Sophos;i="5.91,203,1647302400"; d="scan'208";a="200507439" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-pdx-2b-1f9d5b26.us-west-2.amazon.com) ([10.43.8.6]) by smtp-border-fw-6001.iad6.amazon.com with ESMTP; 06 May 2022 06:44:46 +0000 Received: from EX13D08EUC002.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-pdx-2b-1f9d5b26.us-west-2.amazon.com (Postfix) with ESMTPS id 5E8764181F; Fri, 6 May 2022 06:44:44 +0000 (UTC) Received: from EX13MTAUWA001.ant.amazon.com (10.43.160.58) by EX13D08EUC002.ant.amazon.com (10.43.164.124) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Fri, 6 May 2022 06:44:42 +0000 Received: from dev-dsk-mheyne-1b-c1524648.eu-west-1.amazon.com (10.15.60.66) by mail-relay.amazon.com (10.43.160.118) with Microsoft SMTP Server id 15.0.1497.32 via Frontend Transport; Fri, 6 May 2022 06:44:41 +0000 Received: by dev-dsk-mheyne-1b-c1524648.eu-west-1.amazon.com (Postfix, from userid 5466572) id 3198D4111F; Fri, 6 May 2022 06:44:40 +0000 (UTC) From: Maximilian Heyne To: Jakub Kicinski CC: Maximilian Heyne , Jesse Brandeburg , Tony Nguyen , "David S. Miller" , Paolo Abeni , , , Subject: Re: [PATCH net-next v2] drivers, ixgbe: show VF statistics Date: Fri, 6 May 2022 06:44:40 +0000 Message-ID: <20220506064440.57940-1-mheyne@amazon.de> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220504201632.2a41a3b9@kernel.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 2022-05-04T20:16:32-07:00 Jakub Kicinski wrote: > On Tue, 3 May 2022 15:00:17 +0000 Maximilian Heyne wrote: > > + for (i =3D 0; i < adapter->num_vfs; i++) { > > + ethtool_sprintf(&p, "VF %u Rx Packets", i); > > + ethtool_sprintf(&p, "VF %u Rx Bytes", i); > > + ethtool_sprintf(&p, "VF %u Tx Packets", i); > > + ethtool_sprintf(&p, "VF %u Tx Bytes", i); > > + ethtool_sprintf(&p, "VF %u MC Packets", i); > > + } > = > Please drop the ethtool stats. We've been trying to avoid duplicating > the same stats in ethtool and iproute2 for a while now. > = I can see the point that standard metrics should only be reported via the iproute2 interface. However, in this special case this patch was intended to converge the out-of-tree driver with the in-tree version. These missing sta= ts were breaking our userspace. If we now switch solely to iproute2 based statistics both driver versions would diverge even more. So depending on wh= ere a user gets the ixgbe driver from, they have to work-around. I can change the patch as requested, but it will contradict the inital intention. At least Intel should then port this change to the external driv= er as well. Let's get a statement from them. Amazon Development Center Germany GmbH Krausenstr. 38 10117 Berlin Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B Sitz: Berlin Ust-ID: DE 289 237 879