Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3538990pxb; Mon, 24 Jan 2022 11:44:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJzpfjLfJi/KPAphzjE9gUDIGyciQM52JY5K0RjcJmrV84e1v0Vy/FWuUftgFKt5Qx6jL4dF X-Received: by 2002:a17:902:ecc6:b0:14a:fba3:168d with SMTP id a6-20020a170902ecc600b0014afba3168dmr16148763plh.8.1643053461129; Mon, 24 Jan 2022 11:44:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643053461; cv=none; d=google.com; s=arc-20160816; b=AetfvL6Wy/45KyWjCsw/9wKw7TImm/RPOucmIIksQXKJHuzxrvKJnKw9zWcuITJHTX KR0G3Kc1zGmJ00q198aT2OmUZj1bDbwTbM1IQEb/o1pGWptPWPF00jsIxt2gQ2nSXwJQ aGKPzK53h+xCVGDyfHY0qp/NSCArF9j8XndwnLS8DwHgsEtomkkNF/1w2LkQSeeePJs2 EjsnjZop1NkjYoTfVQBw5x+ta0hCdyt9fSL2ZHXJPTST+7wDHnFTMmcAQYb92Q1oVd/2 ihjVnlC+8Zx2DfORcLRc25iefFC11cv9iN7b7dO5dAWDrtPV4OzO3zymbioMzTc04Uqo vYXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=41aTXdV4RG6O01NXUYoariT3ZoaysCZ/qlDc5spT4HA=; b=lOKCgrCF6Z9KHTmDzJUaoO0NT9MrtwxddSi7JRp7NcGJxWM53ZxAMlGWM2Qm0sQ99S tbemGcXl317TJhp2xgsbjGIRRgo7r/sNmAiXdV1erKUv9zJIe5/vmYYsTQvenDRzhu9k 0/SKw/TAEDYJEs3TuEt5NVYvXp8snanXsedzw8E+wufKX/32Tbt0dX4LHNNo3yKjTpdG G5AzuwgxRhpnhlrf84UhjG4G0qmQ2e1FoX5F3zrUuxpk6V8isP+aSzBR5r3uEmHb+cUv NcNGtxKqSjPl2NPmPzYrWKpaNK6t/psGAaRLzo4ukZkXpWLtD0nFiGK3jjQ2DXg/8tlB noZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=KtMyrRvJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b9si12754005plm.324.2022.01.24.11.44.09; Mon, 24 Jan 2022 11:44:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=KtMyrRvJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244729AbiAXRjh (ORCPT + 99 others); Mon, 24 Jan 2022 12:39:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241622AbiAXRjf (ORCPT ); Mon, 24 Jan 2022 12:39:35 -0500 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 058CBC06173B for ; Mon, 24 Jan 2022 09:39:35 -0800 (PST) Received: by mail-yb1-xb2c.google.com with SMTP id v186so53771564ybg.1 for ; Mon, 24 Jan 2022 09:39:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=41aTXdV4RG6O01NXUYoariT3ZoaysCZ/qlDc5spT4HA=; b=KtMyrRvJWIl6g8aDJ61tlp8htAjY4Z83rHHQ37w5E4AYOV95sTCTO3FBn7EBhflmbJ CxWCXrBckFGPQfca5aep0e7UzLEXMD3ETaTClllL8KjOFuwaNx0fD7wHsaadw+5J3wC3 r1TXzS45h+raBDvMZKiw8DbRJ90dXATrxp3b+SqgcWH2NvW4lSxRXeIxf7yslsW4VR5q e7qz73Et4MV6Buk+jQNlwpzFBpHTHcDl97z4Am5fDJQgk+plZfap5ZpWKxp8wvp/qPcg X2vn5qfhrAnouI9M3KkyH7Y5xdIXJ0gDHZGSMQUHCbTtD1tzFJL8zb8fiVAul/A2HoFV 7+7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=41aTXdV4RG6O01NXUYoariT3ZoaysCZ/qlDc5spT4HA=; b=CLrI6d2Ok2/OuPLihQoADMjdLt+FZ4Aenn9rJPI4vvOkEXF6+Ckj1minvyAFDef7Ee NPEPhqz+5FRdUQPEqNRSwP90pUmb4AEw7MZHxhecCzRF21lKTm4OKocA14xSHlnkdgFQ +QKkHEg35mjPEgWrNEzn2u6RqpK7Hoh5Bb5I3M6rp7Ihf7bTUmLQGDbU99K53NuukO5G diW3FLgzHJxqf9B5tz/w2u+qJXlhlVF41VUB+kOptqpg4E+/YvkMc/f7pBKA/Z8IpqQs mdDQplAqDLtgRcrkMtOARHwWggEUDqhLajGTMhuP5j/19+pMkUB9vbaDIZ8izmVl5wWS UalA== X-Gm-Message-State: AOAM531GMKhf03Il/FIOUltdSGupZyGuIyN6v6eJasOaUVX+GCxtjD+S 0f57buQBUHeUH5uyYFjF1B9ymKfecKZf7cc0WQcaDtJ6MbyxNg== X-Received: by 2002:a25:b683:: with SMTP id s3mr24190315ybj.293.1643045973784; Mon, 24 Jan 2022 09:39:33 -0800 (PST) MIME-Version: 1.0 References: <20220122000301.1872828-1-jeffreyji@google.com> <20220121194057.17079951@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> <20220124092924.0eb17027@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> In-Reply-To: <20220124092924.0eb17027@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> From: Eric Dumazet Date: Mon, 24 Jan 2022 09:39:22 -0800 Message-ID: Subject: Re: [PATCH net-next] net-core: add InMacErrors counter To: Jakub Kicinski Cc: Brian Vazquez , Jeffrey Ji , "David S . Miller" , LKML , netdev , jeffreyji Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 24, 2022 at 9:29 AM Jakub Kicinski wrote: > That much it's understood, but it's a trade off. This drop point > existed for 20 years, why do we need to consume extra memory now? Being able to tell after the facts, that such a drop reason had occured can help investigations. nstat -a | grep InMac Jeffrey, what about _also_ adding the kfree_skb_reason(), since this seems to also help ?