[PATCH net-next v2 01/15] eth: remove copies of the NAPI_POLL_WEIGHT define

Durrant, Paul xadimgnik at gmail.com
Fri Apr 29 01:11:54 PDT 2022


On 28/04/2022 22:23, Jakub Kicinski wrote:
> Defining local versions of NAPI_POLL_WEIGHT with the same
> values in the drivers just makes refactoring harder.
> 
> Drop the special defines in a bunch of drivers where the
> removal is relatively simple so grouping into one patch
> does not impact reviewability.
> 
> Signed-off-by: Jakub Kicinski <kuba at kernel.org>
> ---
> CC: ulli.kroll at googlemail.com
> CC: linus.walleij at linaro.org
> CC: mlindner at marvell.com
> CC: stephen at networkplumber.org
> CC: nbd at nbd.name
> CC: john at phrozen.org
> CC: sean.wang at mediatek.com
> CC: Mark-MC.Lee at mediatek.com
> CC: matthias.bgg at gmail.com
> CC: grygorii.strashko at ti.com
> CC: wei.liu at kernel.org
> CC: paul at xen.org
> CC: prabhakar.mahadev-lad.rj at bp.renesas.com
> CC: linux-arm-kernel at lists.infradead.org
> CC: linux-mediatek at lists.infradead.org
> CC: linux-omap at vger.kernel.org
> CC: xen-devel at lists.xenproject.org
> ---
>   drivers/net/ethernet/cortina/gemini.c         | 4 +---
>   drivers/net/ethernet/marvell/skge.c           | 3 +--
>   drivers/net/ethernet/marvell/sky2.c           | 3 +--
>   drivers/net/ethernet/mediatek/mtk_star_emac.c | 3 +--
>   drivers/net/ethernet/ti/davinci_emac.c        | 3 +--
>   drivers/net/ethernet/ti/netcp_core.c          | 5 ++---
>   drivers/net/xen-netback/interface.c           | 3 +--
>   7 files changed, 8 insertions(+), 16 deletions(-)
> 

xen-netback patch...

Reviewed-by: Paul Durrant <paul at xen.org>



More information about the Linux-mediatek mailing list