Commit 17d78252 authored by James Smart's avatar James Smart Committed by Christoph Hellwig

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: default avatarJames Smart <james.smart@broadcom.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent d5eff33e
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
/* *************************** Data Structures/Defines ****************** */ /* *************************** Data Structures/Defines ****************** */
#define NVMET_LS_CTX_COUNT 4 #define NVMET_LS_CTX_COUNT 256
/* for this implementation, assume small single frame rqst/rsp */ /* for this implementation, assume small single frame rqst/rsp */
#define NVME_FC_MAX_LS_BUFFER_SIZE 2048 #define NVME_FC_MAX_LS_BUFFER_SIZE 2048
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment