Skip to content

Commit 09e8f0f

Browse files
alistair23keithbusch
authored andcommitted
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 <[email protected]> Reviewed-by: Yunje Shin <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Chris Leech <[email protected]> Signed-off-by: Alistair Francis <[email protected]> Signed-off-by: Keith Busch <[email protected]>
1 parent a8eebf9 commit 09e8f0f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

include/linux/nvme.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2348,4 +2348,8 @@ enum nvme_pr_change_ptpl {
23482348

23492349
#define NVME_PR_IGNORE_KEY (1 << 3)
23502350

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+
23512355
#endif /* _LINUX_NVME_H */

0 commit comments

Comments
 (0)