lkml.org 
[lkml]   [2016]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable
    From
    Date
    On 16-11-24 01:34 PM, Mark Lord wrote:
    >From tracing through the powerpc arch code, this is the buffer that
    > is being directly DMA'd into. And the USB layer does an invalidate_dcache
    > on that entire buffer before initiating the DMA (confirmed via printk).

    Slight correction: the invalidate_dcache_range() is only done when
    using kmalloc'd buffers. I have converted the driver here
    to use usb_alloc_coherent() instead, so that now gets skipped
    since the memory is never cached.

    \
     
     \ /
      Last update: 2016-11-24 19:51    [W:4.829 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site