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=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 551BEC4363D for ; Fri, 25 Sep 2020 12:50:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1E12A21D91 for ; Fri, 25 Sep 2020 12:50:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601038258; bh=6jp7m0zPWUz8NtK8ByKVuSfeVDvc28lK0swypXqpVVc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=IVqKQtkszE6gp8iR7cPYE5rX5JkzzQB9VMaYAzKYHdNW2yC+vgnQ8OQfzL5ZDfrbQ 3vFDmDJcfo2J4bdlWIW+048UvzEhWpoAs0v7UCBtnm9rdrToAU5JKUT/dyOgpcPlZr VvUKLoQ18KXcaMPyc3P+ACT5geXks/h2pyQqyU7I= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728056AbgIYMu4 (ORCPT ); Fri, 25 Sep 2020 08:50:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:54846 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728148AbgIYMuu (ORCPT ); Fri, 25 Sep 2020 08:50:50 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E47C8206DB; Fri, 25 Sep 2020 12:50:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601038250; bh=6jp7m0zPWUz8NtK8ByKVuSfeVDvc28lK0swypXqpVVc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KF1ptkLRo6T3f1Qii/F8ETKbsypBxahOeZxPMWAc6qDk6zshzpor+maGEOZ0hE5kq mqoCfSJ6J6WRUA8ecBV6OWfW6kjYryRb4TAznmN3GQ2gTMP6+n6RPwjZCzn5WceXUS jdhRfGDSmwGBrtP1S4kY5631xeoDxEwwD1z5Ss1U= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hauke Mehrtens , "David S. Miller" Subject: [PATCH 5.8 36/56] net: lantiq: use netif_tx_napi_add() for TX NAPI Date: Fri, 25 Sep 2020 14:48:26 +0200 Message-Id: <20200925124733.268705556@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200925124727.878494124@linuxfoundation.org> References: <20200925124727.878494124@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hauke Mehrtens [ Upstream commit 74c7b80e222b58d3cea731d31e2a31a77fea8345 ] netif_tx_napi_add() should be used for NAPI in the TX direction instead of the netif_napi_add() function. Signed-off-by: Hauke Mehrtens Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/lantiq_xrx200.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ethernet/lantiq_xrx200.c +++ b/drivers/net/ethernet/lantiq_xrx200.c @@ -502,7 +502,7 @@ static int xrx200_probe(struct platform_ /* setup NAPI */ netif_napi_add(net_dev, &priv->chan_rx.napi, xrx200_poll_rx, 32); - netif_napi_add(net_dev, &priv->chan_tx.napi, xrx200_tx_housekeeping, 32); + netif_tx_napi_add(net_dev, &priv->chan_tx.napi, xrx200_tx_housekeeping, 32); platform_set_drvdata(pdev, priv);