[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20170917172438.32421-1-roman@advem.lv>
Date: Sun, 17 Sep 2017 20:24:38 +0300
From: Roman Yeryomin <leroi.lists@...il.com>
To: netdev <netdev@...r.kernel.org>
Subject: [PATCH net-next v2 3/7] net: korina: use NAPI_POLL_WEIGHT
Signed-off-by: Roman Yeryomin <roman@...em.lv>
---
drivers/net/ethernet/korina.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/korina.c b/drivers/net/ethernet/korina.c
index e5466e19994a..c210add9b654 100644
--- a/drivers/net/ethernet/korina.c
+++ b/drivers/net/ethernet/korina.c
@@ -1082,7 +1082,7 @@ static int korina_probe(struct platform_device *pdev)
dev->netdev_ops = &korina_netdev_ops;
dev->ethtool_ops = &netdev_ethtool_ops;
dev->watchdog_timeo = TX_TIMEOUT;
- netif_napi_add(dev, &lp->napi, korina_poll, 64);
+ netif_napi_add(dev, &lp->napi, korina_poll, NAPI_POLL_WEIGHT);
lp->phy_addr = (((lp->rx_irq == 0x2c? 1:0) << 8) | 0x05);
lp->mii_if.dev = dev;
--
2.11.0
Powered by blists - more mailing lists