bmips: enet: restore netif_napi_add weight
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 1 Jul 2024 17:01:47 +0000 (19:01 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 1 Jul 2024 17:20:46 +0000 (19:20 +0200)
commit2bf2ee7be899565b9c3ab75aa8c068e7d339f103
treedee42158bc08cef5df0641c4be9892e1a0f9fa44
parent90b6728de2c16618197b98232d262ff64f312fb4
bmips: enet: restore netif_napi_add weight

Switch to netif_napi_add_weight and add back weight value from <= v5.15.

Fixes: 8f6033e287ea ("bmips: enet: add compatibility with kernel 6.1")
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/bmips/files/drivers/net/ethernet/broadcom/bcm6348-enet.c
target/linux/bmips/files/drivers/net/ethernet/broadcom/bcm6368-enetsw.c