Spdk/test/unit/lib/nvmf
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
..
ctrlr_bdev.c trace: inline tpoint_mask checking 2018-09-04 17:09:25 +00:00
ctrlr_discovery.c nvmf: Remove qpair_is_idle 2019-03-15 19:19:17 +00:00
ctrlr.c nvmf: Fix connect command SQ size validation for IO queues 2019-06-18 11:39:29 +00:00
rdma.c rdma:Fix gcc9 compile warning on Fedora30. 2019-07-04 00:23:35 +00:00
subsystem.c nvmf: enable ptpl feature with reservation register command 2019-07-02 00:06:59 +00:00
tcp.c nvmf/tcp: Add unit test to test SGL handling in C2H and H2C 2019-07-04 08:58:40 +00:00
Makefile nvmf: Collapse request.c into ctrlr.c 2019-02-04 18:11:33 +00:00