diff options
| author | Hannes Reinecke <[email protected]> | 2023-08-24 16:39:11 +0200 |
|---|---|---|
| committer | Keith Busch <[email protected]> | 2023-10-11 10:11:54 -0700 |
| commit | a86062aac34d100a3117c0fff91ee1892ebfb460 (patch) | |
| tree | e4f8803d990070238e88b961769d5ce81ff6d046 /include/linux | |
| parent | 646f45b23218c7a97a84259d8eeb22dad5711fc8 (diff) | |
nvme-tcp: add definitions for TLS cipher suites
Signed-off-by: Hannes Reinecke <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nvme-tcp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/nvme-tcp.h b/include/linux/nvme-tcp.h index 57ebe1267f7f..e07e8978d691 100644 --- a/include/linux/nvme-tcp.h +++ b/include/linux/nvme-tcp.h @@ -18,6 +18,12 @@ enum nvme_tcp_pfv { NVME_TCP_PFV_1_0 = 0x0, }; +enum nvme_tcp_tls_cipher { + NVME_TCP_TLS_CIPHER_INVALID = 0, + NVME_TCP_TLS_CIPHER_SHA256 = 1, + NVME_TCP_TLS_CIPHER_SHA384 = 2, +}; + enum nvme_tcp_fatal_error_status { NVME_TCP_FES_INVALID_PDU_HDR = 0x01, NVME_TCP_FES_PDU_SEQ_ERR = 0x02, |