+42
−9
Loading
A preparation step for enabling zero copy in NVMEoF TCP initiator. Some NVMEoF TCP targets can send several R2T requests. We should check that we finished the previous H2C (received buffer reclaim notification from kernel) before sending the next H2C. This patch adds a new ordering bit indicating the described case and 2 fields to nvme_tcp_req to store the values from the last R2T request which will be applied when send ack is received. Change-Id: Iaa5ad846712ca18a8382680baa02413c18c4eb37 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/+/4203 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>