diff options
author | Sagi Grimberg <sagi@lightbitslabs.com> | 2018-12-04 04:52:13 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-12-13 11:58:56 +0300 |
commit | 20d44e86321299f61bb782a39aaa30f579823f58 (patch) | |
tree | 3949c9449a568956a805eb0efca207459daef863 /drivers/nvme/host/fabrics.h | |
parent | 3b49fa807284ec30669a95fd5f3806e127d29f4d (diff) | |
download | linux-20d44e86321299f61bb782a39aaa30f579823f58.tar.xz |
nvme-fabrics: allow user passing data digest
Data digest is a nvme-tcp specific feature, but nothing prevents other
transports reusing the concept so do not associate with tcp transport
solely.
Signed-off-by: Sagi Grimberg <sagi@lightbitslabs.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/fabrics.h')
-rw-r--r-- | drivers/nvme/host/fabrics.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/nvme/host/fabrics.h b/drivers/nvme/host/fabrics.h index a6127f1a9e8e..524a02a67817 100644 --- a/drivers/nvme/host/fabrics.h +++ b/drivers/nvme/host/fabrics.h @@ -60,6 +60,7 @@ enum { NVMF_OPT_DUP_CONNECT = 1 << 13, NVMF_OPT_DISABLE_SQFLOW = 1 << 14, NVMF_OPT_HDR_DIGEST = 1 << 15, + NVMF_OPT_DATA_DIGEST = 1 << 16, }; /** @@ -105,6 +106,7 @@ struct nvmf_ctrl_options { int max_reconnects; bool disable_sqflow; bool hdr_digest; + bool data_digest; }; /* |