Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3235961iog; Mon, 27 Jun 2022 12:03:56 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v94D/5upsz1iyuQsRChAQhQD/8UZCru7xlMjeE9Q/ddlPc8y8M8m6GifApaOLcTnYEq+kH X-Received: by 2002:a05:6402:3224:b0:435:80fd:333 with SMTP id g36-20020a056402322400b0043580fd0333mr18662532eda.76.1656356636331; Mon, 27 Jun 2022 12:03:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656356636; cv=none; d=google.com; s=arc-20160816; b=qND9C4NERgpXdOAbz0hTMq2fi4kejIxyC3dciio6KjjTI4iRTCE61QaFqoYVaPvwCg cmEH9Yte9nvzyHkABBf1OlRwHVCU+0Ub+wpWuTvRKVPC+AHnDwEGDn8mcxqb4Jfflc5j PqHiIW4drtvgRkRGigCTFDi6dL1uX1J951Q7CtS3RNiOpjP74mB4Gy0iupoRQ3D8P8jY jKec1F0YZCdKWKwR7PpXC86P54gRw1pr8Y3F4zm0aBnJCS1gCnmQjqJ6hxp9Dtk0jy92 gqMHbG8+c1XHnOf0WlL7x9t4CEuNprOAT2/uEti5yZgpofINarXe/XawNv51nCL3EeWa VcNA== 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:subject:cc:to:from:date :dkim-signature; bh=EMtnD6IhXdZsJ6k5EKvw8L4xI5spiH3wNrPgTWqvPBQ=; b=myYLXCYI8liNU2OftDTxB70d9WvAR6fAXm/bjMMtss2TH8KWVnK9QqTmQ3WHnuOa0y Su2CIIgc8xXmgZhWrw2Ccz0eu4LTF+OtRpV+M+xB2SO57A5A5aHqpvGPyLN4FFs0cj+2 QygD4wAqftbkDGi76fuButnJ4H0p5wYJD38C1HwZRjYp4Lq3kVyjr8cfg95Gud0K9YPC 0bMw6x1nLx1vNlAUJw+pS/PQ7v3w6af2qxtzxy5Gc1jUKlOgYRgQf8D8bRrbqh0ZXSIw /tQr1K2xs48LDCvtS1sixF74aaR0UjRGD3aexFKJtr9FkmwjdVH8PKkMZ+ubWao3ZlaS 1dvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G8yaykvx; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h3-20020a056402280300b00435bb0732fesi702634ede.234.2022.06.27.12.03.31; Mon, 27 Jun 2022 12:03:56 -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=@kernel.org header.s=k20201202 header.b=G8yaykvx; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239471AbiF0Sq5 (ORCPT + 99 others); Mon, 27 Jun 2022 14:46:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236776AbiF0Sq4 (ORCPT ); Mon, 27 Jun 2022 14:46:56 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 456B3D53; Mon, 27 Jun 2022 11:46:55 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CC82D615CA; Mon, 27 Jun 2022 18:46:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9C350C3411D; Mon, 27 Jun 2022 18:46:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656355614; bh=EMtnD6IhXdZsJ6k5EKvw8L4xI5spiH3wNrPgTWqvPBQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=G8yaykvxux3jX6J47i1jLyS3R1wup4fawFmLJfYT6b20QaiQhrHb0hvK7eo61ZxUk LEj18MXR2WnP5fNXLRayJWMfX9St91oiIKEgIQpKhQl/AhjJ5PZMU7meItW8i+KqMf OltbtOyvKwVROCzZxgmHfmIXS5sPvzO9fDof/2Ge5OPr/LXdrB09Z03iiuGPBeehIZ k5+OPcmq2+jrvSJq++yFpZFM7f6x/vkfgUaJnJqLFB2kd4wqusyRJUZPTnl8+0aaOc q1BLXk6vw5hhQqKKjFPAux3tth8Tgf0FCdIZzTJzCYfluCDQfmLxyY2+9J1ai3Ri5y 6KcrUG3fQTsCg== Date: Mon, 27 Jun 2022 11:46:44 -0700 From: Jakub Kicinski To: Vladimir Oltean Cc: netdev@vger.kernel.org, "David S. Miller" , Eric Dumazet , Paolo Abeni , Xiaoliang Yang , Claudiu Manoil , Alexandre Belloni , UNGLinuxDriver@microchip.com, Andrew Lunn , Vivien Didelot , Florian Fainelli , Michael Walle , Vinicius Costa Gomes , Maxim Kochetkov , Colin Foster , Richie Pearn , linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 4/4] net: dsa: felix: drop oversized frames with tc-taprio instead of hanging the port Message-ID: <20220627114644.6c2c163b@kernel.org> In-Reply-To: <20220626120505.2369600-5-vladimir.oltean@nxp.com> References: <20220626120505.2369600-1-vladimir.oltean@nxp.com> <20220626120505.2369600-5-vladimir.oltean@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Sun, 26 Jun 2022 15:05:05 +0300 Vladimir Oltean wrote: > When a frame is dropped due to a queue system oversize condition, the > counter that increments is the generic "drop_tail" in ethtool -S, even > if this isn't a tail drop as the rest (i.e. the controlling watermarks > don't count these frames, as can be seen in "devlink sb occupancy show > pci/0000:00:00.5 sb 0"). So the hardware counter is unspecific > regarding the drop reason. I had mixed feelings about the stats, as I usually do, but I don't recall if I sent that email. Are you at least counting the drop_tail into one of the standard tx error / drop stats so admins will notice?