Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Alistair Francis and committed by
Keith Busch
09e8f0f9 a8eebf96

+4
+4
include/linux/nvme.h
··· 2348 2348 2349 2349 #define NVME_PR_IGNORE_KEY (1 << 3) 2350 2350 2351 + /* Section 8.3.4.5.2 of the NVMe 2.1 */ 2352 + #define NVME_AUTH_DHCHAP_MAX_HASH_IDS 30 2353 + #define NVME_AUTH_DHCHAP_MAX_DH_IDS 30 2354 + 2351 2355 #endif /* _LINUX_NVME_H */