projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dea3663
)
net: lantiq: use netif_tx_napi_add() for TX NAPI
author
Hauke Mehrtens
<hauke@hauke-m.de>
Sat, 12 Sep 2020 19:36:27 +0000
(21:36 +0200)
committer
David S. Miller
<davem@davemloft.net>
Mon, 14 Sep 2020 21:53:15 +0000
(14:53 -0700)
netif_tx_napi_add() should be used for NAPI in the TX direction instead
of the netif_napi_add() function.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/lantiq_xrx200.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/lantiq_xrx200.c
b/drivers/net/ethernet/lantiq_xrx200.c
index
1feb9fc
..
f34e4dc
100644
(file)
--- a/
drivers/net/ethernet/lantiq_xrx200.c
+++ b/
drivers/net/ethernet/lantiq_xrx200.c
@@
-502,7
+502,7
@@
static int xrx200_probe(struct platform_device *pdev)
/* setup NAPI */
netif_napi_add(net_dev, &priv->chan_rx.napi, xrx200_poll_rx, 32);
- netif_napi_add(net_dev, &priv->chan_tx.napi, xrx200_tx_housekeeping, 32);
+ netif_
tx_
napi_add(net_dev, &priv->chan_tx.napi, xrx200_tx_housekeeping, 32);
platform_set_drvdata(pdev, priv);