Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35154358rwd; Mon, 10 Jul 2023 03:28:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlFDCIFH78NK0wYIcxCu92lTuxhNMXEMqqM7QRBVZZZknUKb+FSj/4EAElN0weQ0JJ+XseS5 X-Received: by 2002:a17:902:9a85:b0:1b9:d307:c1df with SMTP id w5-20020a1709029a8500b001b9d307c1dfmr6102705plp.17.1688984930190; Mon, 10 Jul 2023 03:28:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688984930; cv=none; d=google.com; s=arc-20160816; b=02q3phA6kd/vSveFbECvyEMEWPVM6cYvIRMQea0LyyFb9pacnw2dqWjiV5MZ0Cnf7W C/B9L2q2L7KdeC5kGpdK2yYsA1IUlK3baadIQ9nSmUgHuurZ4S2Z7UBLI9GW5TFDrT7B 5ot5tTdcb8gHoXVrZe59+nPfBbK/b9ldThZxR6yfl1NyOeuy8kXyCVKwENqaVdFu29ZS PD1IWTLt38dX4jpi2CfMtwxDAczRBdDyV4SxDwDcO48f4hMgvso0fhHc75Z0mb2R8/NF Qzlm2EX/x4DOsKmZJWpAspc3HLG3mUteM1firfxiItMMxf3nG7UvRAxa7lL5jABXO13T vOlg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=HGz8+IC70d256D98s3UkooXpKb6O9hQKDllGM7BVdAY=; fh=im0sHB8lqQakiBAM8CX067C/iX089nh+EH0yYSlD7v4=; b=Tdjo2iaLzwTY1TDRpcrntjsv2fSMzXV9p/EGHlc181AkgCN/QS32o9KrGV9D5GSR5O eLnOa5kJZnlymFmo0UoDaqLE8D8EsOLkLkmKa7KUxU+BxtF35CWYm1dsVyX1LJZ69woE HUU/smmzQnxx6QajC4X1XqY4wM0qQgztlSaD0+mDE/OXfQixUBpdeLdEpUyfSWJxT4+0 8hLbcHY0cHhmIsRNj5KVFR2/avSugnfSUf6RVQi9BZUFI5Zz+LYhhPmEYWUNMp6QsKlx qJiVS2H3WcVK2cE/jEayoMgtPJ92vfGjSmTLek+vwHWEy95lxIyUlZUB0v7VfFWBBfpI 98ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=mdSyE6hz; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i6-20020a170902c94600b001b8ac8008a4si2872864pla.598.2023.07.10.03.28.38; Mon, 10 Jul 2023 03:28:50 -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=@gmail.com header.s=20221208 header.b=mdSyE6hz; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229959AbjGJJw0 (ORCPT + 99 others); Mon, 10 Jul 2023 05:52:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231443AbjGJJvm (ORCPT ); Mon, 10 Jul 2023 05:51:42 -0400 Received: from mail-ot1-x342.google.com (mail-ot1-x342.google.com [IPv6:2607:f8b0:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E8CBE6E; Mon, 10 Jul 2023 02:48:25 -0700 (PDT) Received: by mail-ot1-x342.google.com with SMTP id 46e09a7af769-6b886456f66so2577931a34.0; Mon, 10 Jul 2023 02:48:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688982504; x=1691574504; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=HGz8+IC70d256D98s3UkooXpKb6O9hQKDllGM7BVdAY=; b=mdSyE6hzeu/hvw8FSZ+A3gftTlWP92a9q17rdDNg65uIAOSgPqe7knBIMJBsMF5Xma uAp5grYIC5jiwerfBpF1GWeGUS6P8vk18ls6S1hAH/OH/Q3zhKYltcB/xw6DFYu7OJoc P0k6w9vfNYWXEVUQiqD1kpezvVfcmWvWHa3MHJPhjU8Zn/1IZTGjPRPfNgRYtyOQoBjZ jMdmcSyuSwavrjG88xTT5+FR3dXOo6U/Xt7GuBQ86HEouUiFcAIboXVLcM3EWyC6F4r9 es8lXkbd9SELj0AIuLckmEmDxJEgmwSyzRZrKq1lN5ot06ujjRnkxJ/tYIhHchVNCF2P Pc1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688982504; x=1691574504; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HGz8+IC70d256D98s3UkooXpKb6O9hQKDllGM7BVdAY=; b=WcQNOLm+1xGei0X2wuEGb46ZNlPzD7lQkGKrTSYIv0/1QCt/EDPOgQ7F41MUxV9h76 Bh1g+moV/UwzP7Ftk/SYMD24sIY+m1NSOWpjN3D7ExSZK0qzvSwGi2fCbOThviEz1mVw H1Bvm2z5ngSU8f/gWKXph8b/ld/KXDarFRNOOti+IJp20hB48m66jZ3jsfiLRr8jVPDN I/V70vO1O7h1lcHdNvmZs7wchDFe/qMQVG/TYOw0jTieufEh4WlGCousPplZJYil7YpR bQ+kOFo1Ge8GP67lE3soJ+tsSvRqAl/s9gm4VPiFhmDDQ6P3QupNGbBss+2F7ussDDDi +L5g== X-Gm-Message-State: ABy/qLbuW02KTQS2TUV+JHgdiBD/l1qn9AMGBbmOcXeVFAqhPOOe8oeM rzfBbO7sY0Adw1PLq5ABx6s= X-Received: by 2002:a05:6870:5610:b0:19a:695:15a5 with SMTP id m16-20020a056870561000b0019a069515a5mr11451916oao.25.1688982504442; Mon, 10 Jul 2023 02:48:24 -0700 (PDT) Received: from localhost.localdomain ([203.205.141.84]) by smtp.gmail.com with ESMTPSA id 18-20020a17090a1a1200b00265b9178a73sm1745780pjk.6.2023.07.10.02.48.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jul 2023 02:48:23 -0700 (PDT) From: menglong8.dong@gmail.com X-Google-Original-From: imagedong@tencent.com To: michael.chan@broadcom.com Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Menglong Dong Subject: [PATCH RESEND net-next] bnxt_en: use dev_consume_skb_any() in bnxt_tx_int Date: Mon, 10 Jul 2023 17:47:47 +0800 Message-Id: <20230710094747.943782-1-imagedong@tencent.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,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 From: Menglong Dong Replace dev_kfree_skb_any() with dev_consume_skb_any() in bnxt_tx_int() to clear the unnecessary noise of "kfree_skb" event. Signed-off-by: Menglong Dong --- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c b/drivers/net/ethernet/broadcom/bnxt/bnxt.c index e5b54e6025be..d84ded8db93d 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.c @@ -685,7 +685,7 @@ static void bnxt_tx_int(struct bnxt *bp, struct bnxt_napi *bnapi, int nr_pkts) next_tx_int: cons = NEXT_TX(cons); - dev_kfree_skb_any(skb); + dev_consume_skb_any(skb); } WRITE_ONCE(txr->tx_cons, cons); -- 2.40.1