commit | 88ebe2cf7f3fc9da95e0f06483fd58da3e67e675 | [log] [tgz] |
---|---|---|
author | Jose Abreu <Jose.Abreu@synopsys.com> | Mon Nov 11 15:42:38 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 11 23:13:19 2019 -0800 |
tree | 1fea76e1e0dec3ad792b2742b9e53084d59589d4 | |
parent | bc41a6689b30abaf213c66ac574beefb6d02717c [diff] |
net: stmmac: Rework stmmac_rx() This looks over-engineered. Let's use some helpers to get the buffer length and hereby simplify the stmmac_rx() function. No performance drop was seen with the new implementation. Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net>