From bb2c8b1fc48d08bbb529781fa4b94bb8e698262d Mon Sep 17 00:00:00 2001 From: Joshua Cha Date: Fri, 9 May 2025 09:19:32 +0000 Subject: [PATCH] nvsciipc: increase inter-process channel count default DriveOS inter-process endpoint count is about 1300 for now. DriveAV requirement needs 8192 inter-process channels (=16384 endpoints) except for DriveOS system usage. Hence increased the number of inter-process endpoints by 2048 more in considering margin. Bug 5224327 Change-Id: I47f5a67f9ece917ed5fe873be2e188f128d63961 Signed-off-by: Joshua Cha Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3361956 GVS: buildbot_gerritrpt Reviewed-by: Simon Je --- include/uapi/linux/nvsciipc_ioctl.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/nvsciipc_ioctl.h b/include/uapi/linux/nvsciipc_ioctl.h index e46c0a3d..25422541 100644 --- a/include/uapi/linux/nvsciipc_ioctl.h +++ b/include/uapi/linux/nvsciipc_ioctl.h @@ -8,11 +8,13 @@ /* * inter-thread: 2000 - * inter-process: 16384 + * inter-process: 16384 + 2048 + * 16384 : reserved for DriveAV/customer + * 2048 : reserved for DriveOS. * inter-vm: 512 * inter-chip-pcie: 32 */ -#define NVSCIIPC_MAX_EP_COUNT 18928 +#define NVSCIIPC_MAX_EP_COUNT 21040 #define NVSCIIPC_MAX_EP_NAME 64U #define NVSCIIPC_MAX_RDMA_NAME 64U