Skip to content

Commit 86b5e7d

Browse files
natesullydavem330
authored andcommitted
net: macb: Add better comment for RXUBR handling
Describe the handler for RXUBR better with a new comment. Signed-off-by: Nathan Sullivan <[email protected]> Reviewied-by: Josh Cartwright <[email protected]> Reviewied-by: Ben Shelton <[email protected]> Acked-by: Nicolas Ferre <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent eea3994 commit 86b5e7d

File tree

1 file changed

+6
-0
lines changed
  • drivers/net/ethernet/cadence

1 file changed

+6
-0
lines changed

drivers/net/ethernet/cadence/macb.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,6 +1037,12 @@ static irqreturn_t macb_interrupt(int irq, void *dev_id)
10371037
* add that if/when we get our hands on a full-blown MII PHY.
10381038
*/
10391039

1040+
/* There is a hardware issue under heavy load where DMA can
1041+
* stop, this causes endless "used buffer descriptor read"
1042+
* interrupts but it can be cleared by re-enabling RX. See
1043+
* the at91 manual, section 41.3.1 or the Zynq manual
1044+
* section 16.7.4 for details.
1045+
*/
10401046
if (status & MACB_BIT(RXUBR)) {
10411047
ctrl = macb_readl(bp, NCR);
10421048
macb_writel(bp, NCR, ctrl & ~MACB_BIT(RE));

0 commit comments

Comments
 (0)