Home
last modified time | relevance | path

Searched hist:"22 ece0e2e23c5cc5a23a5b8aff3dc75c9832e82f" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/net/
H A Drtl8169.c22ece0e2e23c5cc5a23a5b8aff3dc75c9832e82f Fri Sep 20 14:03:42 UTC 2013 Thierry Reding <thierry.reding@gmail.com> net: rtl8169: Improve cache maintenance

Instead of directly calling the low-level invalidate_dcache_range() and
flush_cache() functions, provide thin wrappers that take into account
alignment requirements.

While at it, fix a case where the cache was flushed but should have been
invalidated, two cases where the buffer data was flushed instead of the
descriptor and a missing cache invalidation before reading the packet
data that the NIC just wrote to memory.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Patch: 276474