Spdk/test/unit/lib/nvmf/tcp.c
Shuhei Matsumoto 16b8519660 nvmf/tcp: Add unit test to test SGL handling in C2H and H2C
This patch adds UT code to test nvmf_tcp_send_c2h_data,
nvmf_tcp_calc_c2h_data_pdu_num, and nvmf_tcp_h2c_data_hdr_handle,
and verifies if the last changes works expectedly.

Change-Id: Idba21a4739635b7828049f1d71c3bc1595deaab0
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/455626
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2019-07-04 08:58:40 +00:00
..
.gitignore test/nvmf: Add unit tests for NVMe-oF TCP transport 2018-12-13 02:42:12 +00:00
Makefile test/nvmf: Add unit tests for NVMe-oF TCP transport 2018-12-13 02:42:12 +00:00
tcp_ut.c nvmf/tcp: Add unit test to test SGL handling in C2H and H2C 2019-07-04 08:58:40 +00:00