Re: [PATCH net-next] net: drop the weight argument from netif_napi_add

From
Marc Kleine-Budde <mkl@pengutronix.de>
Date
2022-09-27 13:33:41
Also in
linux-can, linux-wireless
Reply to
Jakub Kicinski, 2022-09-27
On 27.09.2022 06:27:53, Jakub Kicinski wrote:
We tell driver developers to always pass NAPI_POLL_WEIGHT
as the weight to netif_napi_add(). This may be confusing
to newcomers, drop the weight argument, those who really
need to tweak the weight can use netif_napi_add_weight().

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
---
 drivers/net/can/ctucanfd/ctucanfd_base.c      |  2 +-
 drivers/net/can/ifi_canfd/ifi_canfd.c         |  2 +-
 drivers/net/can/m_can/m_can.c                 |  3 +--
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de> # for CAN

regards,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

Attachments

Thread (11 messages) 11 messages, 7 authors, last reply 2022-10-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help