Commits
![Jose Abreu](https://secure.gravatar.com/avatar/bc3e5ea91ac1a486c6fe91c9ef7a34eb.jpg?s=96&d=mm)
Jose Abreu committed d2e7895b53b
net: stmmac: Determine earlier the size of RX buffer [ Upstream commit 5d626c879e238be9585bd59a61eb606c9408178a ] Split Header feature needs to know the size of RX buffer but current code is determining it too late. Fix this by moving the RX buffer computation to earlier stage. Changes from v2: - Do not try to align already aligned buffer size Fixes: 67afd6d1cfdf ("net: stmmac: Add Split Header support and enable it in XGMAC cores") Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>