net: lantiq_xrx200: increase napi poll weigth
NAT Performance results on BT Home Hub 5A (kernel 5.10.89, mtu 1500): Down Up Before 545 Mbps 625 Mbps After 577 Mbps 648 Mbps Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
5112e9234b
commit
768818d772
@ -597,8 +597,10 @@ static int xrx200_probe(struct platform_device *pdev)
|
||||
PMAC_HD_CTL);
|
||||
|
||||
/* setup NAPI */
|
||||
netif_napi_add(net_dev, &priv->chan_rx.napi, xrx200_poll_rx, 32);
|
||||
netif_tx_napi_add(net_dev, &priv->chan_tx.napi, xrx200_tx_housekeeping, 32);
|
||||
netif_napi_add(net_dev, &priv->chan_rx.napi, xrx200_poll_rx,
|
||||
NAPI_POLL_WEIGHT);
|
||||
netif_tx_napi_add(net_dev, &priv->chan_tx.napi, xrx200_tx_housekeeping,
|
||||
NAPI_POLL_WEIGHT);
|
||||
|
||||
platform_set_drvdata(pdev, priv);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user