a2b43447e9
When the maximum burst size supported by HW is less than the available
ring space, incorrect capacity was returned when there was already some
jobs queued up for submission. This was because the capacity calculation
failed to subtract the number of already-enqueued jobs from the max
burst size. After subtraction is done, ensure that any negative values
(which should never occur if the user respects the reported limits), are
clamped to zero.
Fixes:
|
||
---|---|---|
.. | ||
cnxk | ||
dpaa | ||
hisilicon | ||
idxd | ||
ioat | ||
skeleton | ||
meson.build |