2022-09-27 13:54:56

by Marc Kleine-Budde

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

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 <[email protected]>
> ---
> 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 <[email protected]> # 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:
(No filename) (877.00 B)
signature.asc (499.00 B)
Download all attachments