• Linas Vepstas's avatar
    Spidernet DMA coalescing · d4ed8f8d
    Linas Vepstas authored
    The current driver code performs 512 DMA mappings of a bunch of
    32-byte ring descriptor structures. This is silly, as they are
    all in contiguous memory. This patch changes the code to
    dma_map_coherent() each rx/tx ring as a whole.
    Signed-off-by: default avatarLinas Vepstas <linas@austin.ibm.com>
    Cc: James K Lewis <jklewis@us.ibm.com>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    d4ed8f8d
spider_net_ethtool.c 5.65 KB