diff options
author | Jose Abreu <Jose.Abreu@synopsys.com> | 2019-12-18 11:17:36 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-18 12:04:17 -0800 |
commit | 5d626c879e238be9585bd59a61eb606c9408178a (patch) | |
tree | b9dc096ea2ad116855aae15702e94c3b15db747e /drivers/pci | |
parent | 08c965430869ed423921bd9058ae59f75207feb6 (diff) |
net: stmmac: Determine earlier the size of RX buffer
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>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions