mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 04:21:09 -04:00
nvme: Add the DHCHAP maximum HD IDs
In preperation for using DHCHAP length in upcoming host and target patches let's add the hash and diffie-hellman ID length macros. Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Yunje Shin <ioerts@kookmin.ac.kr> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Chris Leech <cleech@redhat.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Keith Busch <kbusch@kernel.org>
This commit is contained in:
committed by
Keith Busch
parent
a8eebf9699
commit
09e8f0f934
@@ -2348,4 +2348,8 @@ enum nvme_pr_change_ptpl {
|
||||
|
||||
#define NVME_PR_IGNORE_KEY (1 << 3)
|
||||
|
||||
/* Section 8.3.4.5.2 of the NVMe 2.1 */
|
||||
#define NVME_AUTH_DHCHAP_MAX_HASH_IDS 30
|
||||
#define NVME_AUTH_DHCHAP_MAX_DH_IDS 30
|
||||
|
||||
#endif /* _LINUX_NVME_H */
|
||||
|
||||
Reference in New Issue
Block a user