From d327a3b50e29d3f790432e3705b61c41c8da6006 Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Tue, 14 Jan 2025 14:31:57 +0100 Subject: [PATCH] fix(driver/modern_bpf): lower sendmmsg and recvmmsg loop support to 8 to avoid limit size failures. Signed-off-by: Federico Di Pierro --- driver/modern_bpf/helpers/base/shared_size.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/modern_bpf/helpers/base/shared_size.h b/driver/modern_bpf/helpers/base/shared_size.h index ceeb369eae..7d81007ba7 100644 --- a/driver/modern_bpf/helpers/base/shared_size.h +++ b/driver/modern_bpf/helpers/base/shared_size.h @@ -27,7 +27,7 @@ #define MAX_IOVCNT 32 /* Maximum number of supported sendmmsg/recvmmsg messages */ -#define MAX_SENDMMSG_RECVMMSG_SIZE 16 +#define MAX_SENDMMSG_RECVMMSG_SIZE 8 /* Maximum number of `pollfd` structures that we can analyze. */ #define MAX_POLLFD 16