summaryrefslogtreecommitdiff
path: root/include/linux/nvme-tcp.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2025-02-20 17:43:59 -0700
committerJens Axboe <axboe@kernel.dk>2025-02-20 17:43:59 -0700
commit70550442f28eba83b3e659618bba2b64eb91575f (patch)
treecef3f555450df7b024a20e347548da7a16d2ab5a /include/linux/nvme-tcp.h
parent7543095ce0f313a7060d2b017acd6ccc1a709ad7 (diff)
parentd2fe192348f93fe3a0cb1e33e4aba58e646397f4 (diff)
downloadlinux-70550442f28eba83b3e659618bba2b64eb91575f.tar.gz
linux-70550442f28eba83b3e659618bba2b64eb91575f.tar.bz2
linux-70550442f28eba83b3e659618bba2b64eb91575f.zip
Merge tag 'nvme-6.14-2025-02-20' of git://git.infradead.org/nvme into block-6.14
Pull NVMe fixes from Keith: "nvme fixes for Linux 6.14 - FC controller state check fixes (Daniel) - PCI Endpoint fixes (Damien) - TCP connection failure fixe (Caleb) - TCP handling C2HTermReq PDU (Maurizio) - RDMA queue state check (Ruozhu) - Apple controller fixes (Hector) - Target crash on disbaled namespace (Hannes)" * tag 'nvme-6.14-2025-02-20' of git://git.infradead.org/nvme: nvme: only allow entering LIVE from CONNECTING state nvme-fc: rely on state transitions to handle connectivity loss apple-nvme: Support coprocessors left idle apple-nvme: Release power domains when probe fails nvmet: Use enum definitions instead of hardcoded values nvme: Cleanup the definition of the controller config register fields nvme/ioctl: add missing space in err message nvme-tcp: fix connect failure on receiving partial ICResp PDU nvme: tcp: Fix compilation warning with W=1 nvmet: pci-epf: Avoid RCU stalls under heavy workload nvmet: pci-epf: Do not uselessly write the CSTS register nvmet: pci-epf: Correctly initialize CSTS when enabling the controller nvmet-rdma: recheck queue state is LIVE in state lock in recv done nvmet: Fix crash when a namespace is disabled nvme-tcp: add basic support for the C2HTermReq PDU nvme-pci: quirk Acer FA100 for non-uniqueue identifiers
Diffstat (limited to 'include/linux/nvme-tcp.h')
-rw-r--r--include/linux/nvme-tcp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nvme-tcp.h b/include/linux/nvme-tcp.h
index e07e8978d691..e435250fcb4d 100644
--- a/include/linux/nvme-tcp.h
+++ b/include/linux/nvme-tcp.h
@@ -13,6 +13,8 @@
#define NVME_TCP_ADMIN_CCSZ SZ_8K
#define NVME_TCP_DIGEST_LENGTH 4
#define NVME_TCP_MIN_MAXH2CDATA 4096
+#define NVME_TCP_MIN_C2HTERM_PLEN 24
+#define NVME_TCP_MAX_C2HTERM_PLEN 152
enum nvme_tcp_pfv {
NVME_TCP_PFV_1_0 = 0x0,