lkml.org 
[lkml]   [2010]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH] Align tegra-ehci DMA transfers to 32B
    Date
    This small set of patches fixes an issue where DMA from the tegra EHCI
    controller could be corrupted. It was most commonly seen with USB network
    adapters, though in theory it could happen with any USB traffic.

    Note: An attempt was made to fix this specifically for network devices with
    commit 367c3aab, which set NET_IP_ALIGN to 0 and NET_SKB_PAD to 32.
    Unfortunately, not all network drivers honor them (presumably since these are
    intended as optimizations rather than hard rules). This does mean that
    properly behaved network drivers should fall through this code with very little
    overhead, however.

    Version 3 of this patchset makes the hook definition and commit message much
    more verbose, and moves the new flag from the second patch to the first.



    \
     
     \ /
      Last update: 2010-12-19 22:45    [W:4.280 / U:0.300 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site