mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
nvsciipc: set nvsciipc max endpoint count
validate nvsciipc max endpoint count. validate set_db entry pointer. JIRA NVIPC-3506 Change-Id: Id29531af24367de952b2dccebe23515ad52bfd33 Signed-off-by: Joshua Cha <joshuac@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3322061 Reviewed-by: Suneel Kumar Pemmineti <spemmineti@nvidia.com> Reviewed-by: Simon Je <sje@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
@@ -6,6 +6,14 @@
|
||||
|
||||
#include <linux/ioctl.h>
|
||||
|
||||
/*
|
||||
* inter-thread: 2000
|
||||
* inter-process: 16384
|
||||
* inter-vm: 512
|
||||
* inter-chip-pcie: 32
|
||||
*/
|
||||
#define NVSCIIPC_MAX_EP_COUNT 18928
|
||||
|
||||
#define NVSCIIPC_MAX_EP_NAME 64U
|
||||
#define NVSCIIPC_MAX_RDMA_NAME 64U
|
||||
#define NVSCIIPC_MAX_IP_NAME 16U
|
||||
|
||||
Reference in New Issue
Block a user