mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
net: ethernet: ave: enable Rx drop interrupt
This enables AVE_GI_RXDROP interrupt factor. This factor indicates depletion of Rx descriptors and the handler counts the number of dropped packets. Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1dd27cde30
commit
d06cbe9cbb
1 changed files with 1 additions and 1 deletions
|
@ -1295,7 +1295,7 @@ static int ave_open(struct net_device *ndev)
|
|||
val |= AVE_IIRQC_EN0 | (AVE_INTM_COUNT << 16);
|
||||
writel(val, priv->base + AVE_IIRQC);
|
||||
|
||||
val = AVE_GI_RXIINT | AVE_GI_RXOVF | AVE_GI_TX;
|
||||
val = AVE_GI_RXIINT | AVE_GI_RXOVF | AVE_GI_TX | AVE_GI_RXDROP;
|
||||
ave_irq_restore(ndev, val);
|
||||
|
||||
napi_enable(&priv->napi_rx);
|
||||
|
|
Loading…
Reference in a new issue