+99
−61
test/nvmf/target/wait_for_buf.sh
0 → 100755
+38
−0
Loading
Use iobuf internal queuing capability exposed via new nvmf_tcp_request_get_buffers callback mechanism for the TCP requests that awaits free buffers instead of queuing them internally. Introduce new spdk_nvmf_tcp_req_state that clearly indicates if all requested buffers are allocated for the request. TCP requests could also wait for the spdk_nvmf_tcp_control_msg_list buffer for the PDU. Add tcp-only waiting list for such case. It is the first step in effort to remove pending_buf_queue completely from the spdk_nvmf_request and rely only on the iobuf and transport-specific queues. Change-Id: Ic717d5b8b1090d7703d39f298777d8fdfc30103c Signed-off-by:Krzysztof Goreczny <krzysztof.goreczny@dell.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23215 Reviewed-by:
Jim Harris <jim.harris@samsung.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com>