Previously, MAX_CPUS was set to 256. This causes the tool to exit with a failure on systems with more than 256 CPUs.
For example, an AMD EPYC server with two AMD EPYC 9684X 96-Core Processors reports 384 CPUs to the kernel due to hyperthreading.
This fix allows such systems to run the xdpdump utility.
Signed-off-by: Lucas Crijns <lucascrijns@gmail.com>
******************************************************************************/
#define PERF_MAX_WAKEUP_EVENTS 64
#define PERF_MMAP_PAGE_COUNT 256
-#define MAX_CPUS 256
+#define MAX_CPUS 512
/******************************************************************************
* General used macros