On 5/4/22 11:37 AM, Jakub Kicinski wrote:
Switch net callers to the new API not requiring
the NAPI_POLL_WEIGHT argument.
Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx>
---
CC: rafal@xxxxxxxxxx
CC: f.fainelli@xxxxxxxxx
CC: opendmb@xxxxxxxxx
CC: dmichail@xxxxxxxxxxxx
CC: hauke@xxxxxxxxxx
CC: tariqt@xxxxxxxxxx
CC: kys@xxxxxxxxxxxxx
CC: haiyangz@xxxxxxxxxxxxx
CC: sthemmin@xxxxxxxxxxxxx
CC: wei.liu@xxxxxxxxxx
CC: decui@xxxxxxxxxxxxx
CC: shshaikh@xxxxxxxxxxx
CC: manishc@xxxxxxxxxxx
CC: jiri@xxxxxxxxxxx
CC: hayashi.kunihiko@xxxxxxxxxxxxx
CC: peppe.cavallaro@xxxxxx
CC: alexandre.torgue@xxxxxxxxxxx
CC: joabreu@xxxxxxxxxxxx
CC: mcoquelin.stm32@xxxxxxxxx
CC: grygorii.strashko@xxxxxx
CC: elder@xxxxxxxxxx
CC: wintera@xxxxxxxxxxxxx
CC: wenjia@xxxxxxxxxxxxx
CC: svens@xxxxxxxxxxxxx
CC: mathew.j.martineau@xxxxxxxxxxxxxxx
CC: matthieu.baerts@xxxxxxxxxxxx
CC: s-vadapalli@xxxxxx
CC: chi.minghao@xxxxxxxxxx
CC: linux-rdma@xxxxxxxxxxxxxxx
CC: linux-hyperv@xxxxxxxxxxxxxxx
CC: mptcp@xxxxxxxxxxxxxxx
---
drivers/net/ethernet/broadcom/bcm4908_enet.c | 2 +-
drivers/net/ethernet/broadcom/bcmsysport.c | 2 +-
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 3 +--
drivers/net/ethernet/fungible/funeth/funeth_main.c | 3 +--
drivers/net/ethernet/lantiq_xrx200.c | 4 ++--
drivers/net/ethernet/mellanox/mlx4/en_cq.c | 3 +--
drivers/net/ethernet/microsoft/mana/mana_en.c | 2 +-
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c | 9 ++++-----
drivers/net/ethernet/rocker/rocker_main.c | 3 +--
drivers/net/ethernet/socionext/sni_ave.c | 3 +--
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 5 ++---
drivers/net/ethernet/ti/am65-cpsw-nuss.c | 4 ++--
drivers/net/ethernet/ti/cpsw.c | 5 ++---
drivers/net/ethernet/ti/cpsw_new.c | 5 ++---
drivers/net/ethernet/ti/netcp_core.c | 2 +-
drivers/net/ipa/gsi.c | 4 ++--
For drivers/net/ipa/gsi.c:
Reviewed-by: Alex Elder <elder@xxxxxxxxxx>
drivers/net/tun.c | 3 +--
drivers/s390/net/qeth_core_main.c | 3 +--
net/mptcp/protocol.c | 4 ++--
19 files changed, 29 insertions(+), 40 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);
. . .