Spdk/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: Only present subsystem if it is ready 2019-01-07 06:02:26 +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
Makefile nvmf: Collapse request.c into ctrlr.c 2019-02-04 18:11:33 +00:00
nvmf_fc.h lib/nvmf: fix a typo error 2018-10-12 17:40:16 +00:00
nvmf_internal.h nvmf: Add a flag dif_insert_or_strip to struct spdk_nvmf_ctrlr 2019-07-11 05:30:28 +00:00
nvmf.c nvmf: add spdk_nvmf_get_optimal_poll_group 2019-07-10 02:30:41 +00:00
rdma.c rdma: assert ibv_send_wr is not NULL 2019-06-25 13:37:15 +00:00
subsystem.c nvmf: add parameter check when loading reservation information from a JSON file 2019-07-10 01:40:26 +00:00
tcp.c nvmf: add spdk_nvmf_transport_get_optimal_poll_group 2019-07-10 02:30:41 +00:00
transport.c nvmf: add spdk_nvmf_transport_get_optimal_poll_group 2019-07-10 02:30:41 +00:00
transport.h nvmf: add spdk_nvmf_transport_get_optimal_poll_group 2019-07-10 02:30:41 +00:00