net: ethernet: mtk_eth_soc: only read the full RX descriptor if DMA is done
Uncached memory access is expensive, and there is no need to access all descriptor words if we can't process them anyway Signed-off-by: NFelix Fietkau <nbd@nbd.name> Signed-off-by: NIlya Lipnitskiy <ilya.lipnitskiy@gmail.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录