+120
−153
Loading
mlx5_task has a list of reqs which own an mkey. Instead, add an mkeys array and eliminate reqs structure - that is enough to keep sge's on stack. Also, use mlx5_task pointer as wr_id. Mkey pool allocted per dev_ctx is a temporal solution, will be removed later Signed-off-by:Alexey Marchuk <alexeymar@nvidia.com> Change-Id: I12ab80c4a66c39c118b66240dfd9ea60b4391b04 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23111 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <ben@nvidia.com> Community-CI: Mellanox Build Bot Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com>