+12
−11
+1
−1
Loading
The IOAT "ring" is actually just a circular linked list of descriptors; the descriptors do not need to be in a single physically contiguous region. This can be accomodated by calling spdk_vtophys() on each descriptor rather than assuming they are all in a single contiguous region. Also store the physical address of each descriptor in its associated software descriptor context to avoid the need to call spdk_vtophys() during runtime. Change-Id: Ic8636bbc61deb496a0c6d0ea56b75d298f5f426c Signed-off-by:Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/417782 Reviewed-by:
Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com>