From patchwork Fri Sep 25 12:48:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 263471 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 9C301C4727D for ; Fri, 25 Sep 2020 12:56:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5FBEB235FD for ; Fri, 25 Sep 2020 12:56:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601038596; bh=7xJT5bsd2R2cQLeb29FUYx4+OUR/2fbeBMWRiz6+Hzw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=ZLnY5hJEfuzDCPqRM25Qn1J7hLLLt55v8aUAoltrj2yWj80NeQBQL1ZYVVXXY+yvm tzPCww65pL8fabYIYOJA6kj9pMpwog6z4vtfTSK9htSh+oQWELq5CDh42vI27geQXc sbIpGCJZ+RfUU01ZY32cxsxCMzCoTrVu7k78CcSU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728721AbgIYM4f (ORCPT ); Fri, 25 Sep 2020 08:56:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:57760 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729350AbgIYMww (ORCPT ); Fri, 25 Sep 2020 08:52:52 -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 DB1F0206DB; Fri, 25 Sep 2020 12:52:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601038371; bh=7xJT5bsd2R2cQLeb29FUYx4+OUR/2fbeBMWRiz6+Hzw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZdWT5BjdzJx9d7q0G6Kftu8hsXtKZhuI0UKYgXszN8zYTnMVTnFaq1jaoTIWzcFPL /O0WSwCo5zmhIhZwsnpxpxyrjOy+E7qLjuBnwvxQo2Zx4LN2GswWjGjto6g6XqUuJ4 7nu4NuTtK2/jUWjMYbDczf4DcF4XHMyIsYwjcBh8= 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.4 35/43] net: lantiq: use netif_tx_napi_add() for TX NAPI Date: Fri, 25 Sep 2020 14:48:47 +0200 Message-Id: <20200925124728.858742600@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200925124723.575329814@linuxfoundation.org> References: <20200925124723.575329814@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@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 @@ -501,7 +501,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);