[openwrt/openwrt] realtek: 6.6: drop netif_napi_add weight
LEDE Commits
lede-commits at lists.infradead.org
Sat Sep 14 12:30:25 PDT 2024
svanheule pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/211925d05465897cac963d6050e066bf5f7a1292
commit 211925d05465897cac963d6050e066bf5f7a1292
Author: Markus Stockhausen <markus.stockhausen at gmx.de>
AuthorDate: Mon Aug 19 11:40:45 2024 -0400
realtek: 6.6: drop netif_napi_add weight
We no longer are required to pass the weight to netif_napi_add.
See commit b48b89f9c189 ("net: drop the weight argument from netif_napi_add").
Signed-off-by: Olliver Schinagl <oliver at schinagl.nl>
Signed-off-by: Markus Stockhausen <markus.stockhausen at gmx.de>
---
target/linux/realtek/files-6.6/drivers/net/ethernet/rtl838x_eth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/realtek/files-6.6/drivers/net/ethernet/rtl838x_eth.c b/target/linux/realtek/files-6.6/drivers/net/ethernet/rtl838x_eth.c
index 29651c0aec..017364ffae 100644
--- a/target/linux/realtek/files-6.6/drivers/net/ethernet/rtl838x_eth.c
+++ b/target/linux/realtek/files-6.6/drivers/net/ethernet/rtl838x_eth.c
@@ -2605,7 +2605,7 @@ static int __init rtl838x_eth_probe(struct platform_device *pdev)
for (int i = 0; i < priv->rxrings; i++) {
priv->rx_qs[i].id = i;
priv->rx_qs[i].priv = priv;
- netif_napi_add(dev, &priv->rx_qs[i].napi, rtl838x_poll_rx, 64);
+ netif_napi_add(dev, &priv->rx_qs[i].napi, rtl838x_poll_rx);
}
platform_set_drvdata(pdev, dev);
More information about the lede-commits
mailing list