From f63c2ec13c5f74e5211409ae2c3367a2171adb83 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Thu, 30 Dec 2021 00:34:52 +0100 Subject: Windows driver: Set maximum values for encryption queue parameters. Add IOCTL code to read used values from user space maximum value for EncryptionFragmentSize is 2048 maximum value for EncryptionIoRequestCount is 8192 maximum value for EncryptionItemCount is (EncryptionIoRequestCount/2) --- src/Driver/EncryptedIoQueue.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Driver/EncryptedIoQueue.h') diff --git a/src/Driver/EncryptedIoQueue.h b/src/Driver/EncryptedIoQueue.h index d9bef42b..c4b6f269 100644 --- a/src/Driver/EncryptedIoQueue.h +++ b/src/Driver/EncryptedIoQueue.h @@ -24,6 +24,7 @@ #define TC_ENC_IO_QUEUE_PREALLOCATED_ITEM_COUNT 8 #define TC_ENC_IO_QUEUE_PREALLOCATED_IO_REQUEST_COUNT 16 +#define TC_ENC_IO_QUEUE_PREALLOCATED_IO_REQUEST_MAX_COUNT 8192 typedef struct EncryptedIoQueueBufferStruct -- cgit v1.2.3