mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 15:02:40 -04:00
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>
This commit is contained in:
@@ -3786,8 +3786,8 @@ void __init mptcp_proto_init(void)
|
||||
for_each_possible_cpu(cpu) {
|
||||
delegated = per_cpu_ptr(&mptcp_delegated_actions, cpu);
|
||||
INIT_LIST_HEAD(&delegated->head);
|
||||
netif_tx_napi_add(&mptcp_napi_dev, &delegated->napi, mptcp_napi_poll,
|
||||
NAPI_POLL_WEIGHT);
|
||||
netif_napi_add_tx(&mptcp_napi_dev, &delegated->napi,
|
||||
mptcp_napi_poll);
|
||||
napi_enable(&delegated->napi);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user