[PATCH (net-next.git) 08/18] stmmac: merge get_rx_owner into rx_status routine.

2016-01-04 Thread Giuseppe Cavallaro
From: Fabrice Gasnier 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

[PATCH (net-next.git) 08/18] stmmac: merge get_rx_owner into rx_status routine.

2015-12-09 Thread Giuseppe Cavallaro
From: Fabrice Gasnier 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