+82
−52
Loading
Move parallel arrays of response buffers and response SGLs from qpair to a new responses object. Use options to create the responses object. Use spdk_zmalloc() to allocate the responses object because qpair is also allocated by spdk_zmalloc(). The purpose is to share the code and the data structure between SRQ is enabled and disabled. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Signed-off-by:
Denis Nagorny <denisn@nvidia.com> Signed-off-by:
Evgeniy Kochetov <evgeniik@nvidia.com> Change-Id: Ia23fe7328ae1f2f551fed5863fd1414f8567d602 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14172 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com>