ioat2,3: dynamically resize descriptor ring
authorDan Williams <dan.j.williams@intel.com>
Tue, 8 Sep 2009 19:02:01 +0000 (12:02 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 9 Sep 2009 00:38:54 +0000 (17:38 -0700)
Increment the allocation order of the descriptor ring every time we run
out of descriptors up to a maximum of allocation order specified by the
module parameter 'ioat_max_alloc_order'.  After each idle period
decrement the allocation order to a minimum order of
'ioat_ring_alloc_order' (i.e. the default ring size, tunable as a module
parameter).

Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>

No differences found