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>
This commit is contained in:

committed by
Christoph Hellwig

parent
3b49fa8072
commit
20d44e8632
@@ -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;
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user