Spdk/lib/nvmf
Shuhei Matsumoto 2c9b0af271 nvmf/tcp: Get DIF context when handling capsule command header
When handling the capsule command header, call spdk_nvmf_request_get_dif_ctx
by passing the NVMf request and the reference to the DIF context, and set
the flag dif_insert_or_strip of the NVMf/TCP request to true.

spdk_nvmf_request_get_dif_ctx returns false immediately when the
corresponding NVMf controller disables DIF insert/strip.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I16f6b322f2692d5f9653d011a490e7929ec37365
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/458928
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: Hide DIF setting of the backend bdev if DIF insert/strip is enabled 2019-07-11 05:30:28 +00:00
ctrlr_discovery.c nvmf: Only present subsystem if it is ready 2019-01-07 06:02:26 +00:00
ctrlr.c nvmf: Hide DIF setting of the backend bdev if DIF insert/strip is enabled 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: Hide DIF setting of the backend bdev if DIF insert/strip is enabled 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/tcp: Get DIF context when handling capsule command header 2019-07-11 05:30:28 +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