summaryrefslogtreecommitdiff
path: root/include/linux/nvme-tcp.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-02-24 07:02:15 -0700
committerJens Axboe <axboe@kernel.dk>2022-02-24 07:02:15 -0700
commitb2750f14007f0e1b36caf51058c161d2c93e63b6 (patch)
treedbcfa128fca5672102867f2ea87cd56134164865 /include/linux/nvme-tcp.h
parentbb49c6fa8b845591b317b0d7afea4ae60ec7f3aa (diff)
parentc2700d2886a87f83f31e0a301de1d2350b52c79b (diff)
Merge tag 'nvme-5.17-2022-02-24' of git://git.infradead.org/nvme into block-5.17block-5.17-2022-02-24
Pull NVMe fixes from Christoph: "nvme fixes for Linux 5.17 - send H2CData PDUs based on MAXH2CDATA (Varun Prakash) - fix passthrough to namespaces with unsupported features (me)" * tag 'nvme-5.17-2022-02-24' of git://git.infradead.org/nvme: nvme-tcp: send H2CData PDUs based on MAXH2CDATA nvme: also mark passthrough-only namespaces ready in nvme_update_ns_info nvme: don't return an error from nvme_configure_metadata
Diffstat (limited to 'include/linux/nvme-tcp.h')
-rw-r--r--include/linux/nvme-tcp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nvme-tcp.h b/include/linux/nvme-tcp.h
index 959e0bd9a913..75470159a194 100644
--- a/include/linux/nvme-tcp.h
+++ b/include/linux/nvme-tcp.h
@@ -12,6 +12,7 @@
#define NVME_TCP_DISC_PORT 8009
#define NVME_TCP_ADMIN_CCSZ SZ_8K
#define NVME_TCP_DIGEST_LENGTH 4
+#define NVME_TCP_MIN_MAXH2CDATA 4096
enum nvme_tcp_pfv {
NVME_TCP_PFV_1_0 = 0x0,