+20
−4
Loading
A preparation step for enabling zero copy in NVMEoF TCP initiator. We should wait for both events to occur before continue qpair initialization. Add a new bit to nvme_tcp_qpair::flags to track receiving of icreq ack since icreq is sent without tcp_req and there is no way to apply existing synchronization mechanisms. Move tcp qpair to initializing state if we receive icresp before icreq ack, this state will be checked during handling of icreq ack to continue qpair initialization Change-Id: I7f1ec710d49fb1322eb0a7f133190220b9f585ab Signed-off-by:Alexey Marchuk <alexeymar@mellanox.com> Signed-off-by:
Or Gerlitz <ogerlitz@mellanox.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4207 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>