diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-05-04 18:37:24 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-05-06 00:54:12 +0200 |
commit | 16d083e28f1a4f6deef82be92d6a0f5aa2fe7e08 (patch) | |
tree | bc9cfe751b7c156ce43d57052b6835421765d31b /drivers/net/ipa | |
parent | jme: remove an unnecessary indirection (diff) | |
download | linux-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/net/ipa')
-rw-r--r-- | drivers/net/ipa/gsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ipa/gsi.c b/drivers/net/ipa/gsi.c index bc981043cc80..db4cb2de218c 100644 --- a/drivers/net/ipa/gsi.c +++ b/drivers/net/ipa/gsi.c @@ -1614,8 +1614,8 @@ static int gsi_channel_setup_one(struct gsi *gsi, u32 channel_id) gsi_channel_program(channel, true); if (channel->toward_ipa) - netif_tx_napi_add(&gsi->dummy_dev, &channel->napi, - gsi_channel_poll, NAPI_POLL_WEIGHT); + netif_napi_add_tx(&gsi->dummy_dev, &channel->napi, + gsi_channel_poll); else netif_napi_add(&gsi->dummy_dev, &channel->napi, gsi_channel_poll, NAPI_POLL_WEIGHT); |