If no DMA request is completed, the ring_idx of the last completed operation need returned by last_idx parameter. This patch adds testcase for it. Signed-off-by: Chengwen Feng <fengchengwen@huawei.com> Tested-by: Kevin Laatz <kevin.laatz@intel.com>