1. 09 9月, 2009 2 次提交
    • D
      ioat3: split ioat3 support to its own file, add memset · bf40a686
      Dan Williams 提交于
      Up until this point the driver for Intel(R) QuickData Technology
      engines, specification versions 2 and 3, were mostly identical save for
      a few quirks.  Version 3.2 hardware adds many new capabilities (like
      raid offload support) requiring some infrastructure that is not relevant
      for v2.  For better code organization of the new funcionality move v3
      and v3.2 support to its own file dma_v3.c, and export some routines from
      the base files (dma.c and dma_v2.c) that can be reused directly.
      
      The first new capability included in this code reorganization is support
      for v3.2 memset operations.
      Signed-off-by: NDan Williams <dan.j.williams@intel.com>
      bf40a686
    • D
      ioat2,3: convert to a true ring buffer · 5cbafa65
      Dan Williams 提交于
      Replace the current linked list munged into a ring with a native ring
      buffer implementation.  The benefit of this approach is reduced overhead
      as many parameters can be derived from ring position with simple pointer
      comparisons and descriptor allocation/freeing becomes just a
      manipulation of head/tail pointers.
      
      It requires a contiguous allocation for the software descriptor
      information.
      
      Since this arrangement is significantly different from the ioat1 chain,
      move ioat2,3 support into its own file and header.  Common routines are
      exported from driver/dma/ioat/dma.[ch].
      Signed-off-by: NMaciej Sosnowski <maciej.sosnowski@intel.com>
      Signed-off-by: NDan Williams <dan.j.williams@intel.com>
      
      5cbafa65
  2. 29 7月, 2009 1 次提交