mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] nvmet-tcp: match the MAXH2CDATA comment to its byte value
@ 2026-12-03 10:32 Kenta Akagi
  2026-12-03 10:32 ` [PATCH 2/2] nvmet-tcp: advertise a 4 MiB MDTS limit Kenta Akagi
  2026-12-03 17:49 ` [PATCH 1/2] nvmet-tcp: match the MAXH2CDATA comment to its byte value Ing. Alfonso Kuen Arroyo
  0 siblings, 2 replies; 5+ messages in thread
From: Kenta Akagi @ 2026-12-03 10:32 UTC (permalink / raw)
  To: Christoph Hellwig, Sagi Grimberg, Chaitanya Kulkarni,
	Ibrahim Hashimov, Keith Busch
  Cc: linux-nvme, linux-kernel, gerencia, mlombard, Kenta Akagi

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@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-12-03 17:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-03 10:32 [PATCH 1/2] nvmet-tcp: match the MAXH2CDATA comment to its byte value Kenta Akagi
2026-12-03 10:32 ` [PATCH 2/2] nvmet-tcp: advertise a 4 MiB MDTS limit Kenta Akagi
2026-12-03 17:10   ` Kenta Akagi
2026-12-03 17:49   ` Ing. Alfonso Kuen Arroyo
2026-12-03 17:49 ` [PATCH 1/2] nvmet-tcp: match the MAXH2CDATA comment to its byte value Ing. Alfonso Kuen Arroyo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®