Skip to contentSkip to conversation

nvmet-fc: increase LS buffer count per fc port

PATCH New James Smart 2 participants 2 messages May 21, 2018 – May 25, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nvmet-fc: increase LS buffer count per fc port

Todays limit on concurrent LS's is very small - 4 buffers. With large subsystem counts or large numbers of initiators connecting, the limit may be exceeded.

Raise the LS buffer count to 256.

Signed-off-by James Smart <james.smart at broadcom.com>
---
 drivers/nvme/target/fc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvme/target/fc.c +1 -1
index 33ee8d3145f8..408279cb6f2c 100644
@@ -31,7 +31,7 @@
 /* *************************** Data Structures/Defines ****************** */
 
 
-#define NVMET_LS_CTX_COUNT		4
+#define NVMET_LS_CTX_COUNT		256
 
 /* for this implementation, assume small single frame rqst/rsp */
 #define NVME_FC_MAX_LS_BUFFER_SIZE		2048
Signature · 1 line
2.13.1
#1 lore raw

PATCH 1/1 nvmet-fc: increase LS buffer count per fc port

Thanks,

applied to nvme-4.18-2