diff options
author | Joakim Zhang <qiangqing.zhang@nxp.com> | 2021-02-25 17:01:13 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-26 15:17:11 -0800 |
commit | 396e13e11577b614db77db0bbb6fca935b94eb1b (patch) | |
tree | 2d7bc6cea29c9fea17b0758a224f96e26321f5a7 /drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.h | |
parent | bfaf91ca848e758ed7be99b61fd936d03819fa56 (diff) |
net: stmmac: fix wrongly set buffer2 valid when sph unsupport
In current driver, buffer2 available only when hardware supports split
header. Wrongly set buffer2 valid in stmmac_rx_refill when refill buffer
address. You can see that desc3 is 0x81000000 after initialization, but
turn out to be 0x83000000 after refill.
Fixes: 67afd6d1cfdf ("net: stmmac: Add Split Header support and enable it in XGMAC cores")
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.h')
0 files changed, 0 insertions, 0 deletions