Skip to content

Commit

Permalink
ioat2,3: convert to a true ring buffer
Browse files Browse the repository at this point in the history
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: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
  • Loading branch information
Dan Williams committed Sep 9, 2009
1 parent dcbc853 commit 5cbafa6
Show file tree
Hide file tree
Showing 6 changed files with 1,122 additions and 686 deletions.
2 changes: 1 addition & 1 deletion drivers/dma/ioat/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
obj-$(CONFIG_INTEL_IOATDMA) += ioatdma.o
ioatdma-objs := pci.o dma.o dca.o
ioatdma-objs := pci.o dma.o dma_v2.o dca.o
Loading

0 comments on commit 5cbafa6

Please sign in to comment.