[PATCH 1/2] nvmet-tcp: match the MAXH2CDATA comment to its byte value

Kenta Akagi kenta.akagi at linecorp.com
Thu Dec 3 02:32:14 PST 2026


NVMET_TCP_MAXH2CDATA is 0x400000, or 4 MiB. Update its comment to match
the existing value. The constant and its users are unchanged.

Signed-off-by: Kenta Akagi <kenta.akagi at linecorp.com>
---
 drivers/nvme/target/tcp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/nvme/target/tcp.c b/drivers/nvme/target/tcp.c
index 8a2e0e056131..c70804efb853 100644
--- a/drivers/nvme/target/tcp.c
+++ b/drivers/nvme/target/tcp.c
@@ -24,7 +24,7 @@
 #include "nvmet.h"

 #define NVMET_TCP_DEF_INLINE_DATA_SIZE	(4 * PAGE_SIZE)
-#define NVMET_TCP_MAXH2CDATA		0x400000 /* 16M arbitrary limit */
+#define NVMET_TCP_MAXH2CDATA		0x400000 /* 4 MiB arbitrary limit */
 #define NVMET_TCP_BACKLOG 128

 static int param_store_val(const char *str, int *val, int min, int max)
-- 
2.51.2



More information about the Linux-nvme mailing list