summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-05-04 18:37:24 +0200
committerJakub Kicinski <kuba@kernel.org>2022-05-06 00:54:12 +0200
commit16d083e28f1a4f6deef82be92d6a0f5aa2fe7e08 (patch)
treebc9cfe751b7c156ce43d57052b6835421765d31b /drivers/s390/net
parentjme: remove an unnecessary indirection (diff)
downloadlinux-16d083e28f1a4f6deef82be92d6a0f5aa2fe7e08.tar.xz
linux-16d083e28f1a4f6deef82be92d6a0f5aa2fe7e08.zip
net: switch to netif_napi_add_tx()
Switch net callers to the new API not requiring the NAPI_POLL_WEIGHT argument. Acked-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Alex Elder <elder@linaro.org> Acked-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Acked-by: Alexandra Winter <wintera@linux.ibm.com> Link: https://lore.kernel.org/r/20220504163725.550782-1-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/s390/net')
-rw-r--r--drivers/s390/net/qeth_core_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c
index ae85179ca49a..9e54fe76a9b2 100644
--- a/drivers/s390/net/qeth_core_main.c
+++ b/drivers/s390/net/qeth_core_main.c
@@ -7099,8 +7099,7 @@ int qeth_open(struct net_device *dev)
local_bh_disable();
qeth_for_each_output_queue(card, queue, i) {
- netif_tx_napi_add(dev, &queue->napi, qeth_tx_poll,
- NAPI_POLL_WEIGHT);
+ netif_napi_add_tx(dev, &queue->napi, qeth_tx_poll);
napi_enable(&queue->napi);
napi_schedule(&queue->napi);
}