]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: stmmac: xgmac: Clear previous RX buffer size
authorJose Abreu <Jose.Abreu@synopsys.com>
Wed, 18 Dec 2019 10:17:39 +0000 (11:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Dec 2019 20:04:17 +0000 (12:04 -0800)
commit11d55fd9975f8e46a0e5e19c14899544e81e1e15
treea317ffb815c49d304cb0d47bc8d570efae8409aa
parent93b5dce401ccd4a688fe1f0d0bf0d97e63cdf921
net: stmmac: xgmac: Clear previous RX buffer size

When switching between buffer sizes we need to clear the previous value.

Fixes: d6ddfacd95c7 ("net: stmmac: Add DMA related callbacks for XGMAC2")
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c