State machine is different among NVMe-oF transports and is encapsulated to the transport neutral NVMe-oF controller and NVMe-oF qpair. To implement abort operation for each NVMe-oF transport, add a function pointer qpair_abort_request to struct spdk_nvmf_transport_ops and a stub nvmf_transport_qpair_abort_request() to encapsulate which transport is used. The following patches will implement qpair_abort_request for each transport. Each qpair_abort_request() is responsible to call spdk_nvmf_request_complete() for the abort request. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I2beac959ed428c5108cf33691226b7fae5cd24d6 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3007 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Michael Haeuptle <michaelhaeuptle@gmail.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
tcp_ut.c |