diff options
| author | Rafał Miłecki <[email protected]> | 2021-06-22 05:24:15 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-06-22 17:34:13 +0000 |
| commit | ddeacc4f6494e07cbb6f033627926623f3e7a9d0 (patch) | |
| tree | ba3d0cdf4100cf82a6a2631d21246707fe6ad354 /drivers/usb/cdns3/cdns3-trace.h | |
| parent | net/ipv4: swap flow ports when validating source (diff) | |
| download | kernel-ddeacc4f6494e07cbb6f033627926623f3e7a9d0.tar.gz kernel-ddeacc4f6494e07cbb6f033627926623f3e7a9d0.zip | |
net: broadcom: bcm4908_enet: reset DMA rings sw indexes properly
Resetting software indexes in bcm4908_dma_alloc_buf_descs() is not
enough as it's called during device probe only. Driver resets DMA on
every .ndo_open callback and it's required to reset indexes then.
This fixes inconsistent rings state and stalled traffic after interface
down & up sequence.
Fixes: 4feffeadbcb2 ("net: broadcom: bcm4908enet: add BCM4908 controller driver")
Signed-off-by: Rafał Miłecki <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions
