Spdk/test/unit/lib/nvmf
Shuhei Matsumoto 4ff3665ce9 nvmf: Check DIF insert/strip setting of NVMf controller when getting DIF context
The first idea was that the caller of spdk_nvmf_request_get_dif_ctx()
should check if the current transport enables DIF insert/strip before
calling spdk_nvmf_request_get_dif_ctx().

But NVMf controller knows if DIF/insert/strip is enabled now by the
previous patch. Hence spdk_nvmf_request_get_dif_ctx() checks if the NVMf
controller enables DIF insert/strip at its head.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I78253d356b694800c3a9a9608514df58e0c631a6
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/461314
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
2019-07-11 05:30:28 +00:00
..
ctrlr_bdev.c nvmf: Add helper function to get DIF context from bdev and NVMe cmd 2019-07-10 00:43:02 +00:00
ctrlr_discovery.c nvmf: restore the loaded reservation information to NS 2019-07-08 08:21:03 +00:00
ctrlr.c nvmf: Check DIF insert/strip setting of NVMf controller when getting DIF context 2019-07-11 05:30:28 +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: add spdk_nvmf_transport_get_optimal_poll_group 2019-07-10 02:30:41 +00:00
Makefile nvmf: Collapse request.c into ctrlr.c 2019-02-04 18:11:33 +00:00