commit | c1fa3212be5503d802a5c4c451dd4e673fdc603a | [log] [tgz] |
---|---|---|
author | Fabrice Gasnier <fabrice.gasnier@st.com> | Mon Feb 29 14:27:34 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 02 14:21:32 2016 -0500 |
tree | df0200388853f5d98b595c1ed34e82565d89666d | |
parent | 96951366ce8546662de56f58a3885b94326f9670 [diff] |
stmmac: merge get_rx_owner into rx_status routine. The RDES0 register can be read several times while doing RX of a packet. This patch slightly improves RX path performance by reading rdes0 once for two operation: check rx owner, get rx status bits. Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>