]> git.sur5r.net Git - u-boot/commit
net: davinci_emac: Invalidate only the received portion of a buffer
authorkarl beldan <karl.beldan@gmail.com>
Mon, 15 Aug 2016 17:23:01 +0000 (17:23 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 22 Aug 2016 19:21:13 +0000 (14:21 -0500)
commita51897b6c1e517ea2ce95da59784e84c5992dd00
tree95c7a2f607dab53ebb4f16bfc57598b9fd9aae32
parent6202b8f28c10977a9533ba4c49574b136a64ce82
net: davinci_emac: Invalidate only the received portion of a buffer

ATM when receiving a packet the whole buffer is invalidated, this change
optimizes this behaviour.

Signed-off-by: Karl Beldan <karl.beldan+oss@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>
drivers/net/davinci_emac.c