[PATCH 1/5] net/stack: increase maximum number of ethernet devices

Philippe Gerum rpm at xenomai.org
Fri Mar 22 10:59:31 CET 2019


From: Gilles Chanteperdrix <gilles.chanteperdrix at xenomai.org>

Each VLAN registers a (virtual) device.

Signed-off-by: Philippe Gerum <rpm at xenomai.org>
---
 kernel/drivers/net/stack/include/rtdev.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/drivers/net/stack/include/rtdev.h b/kernel/drivers/net/stack/include/rtdev.h
index 65c7ed3dc..1814b307c 100644
--- a/kernel/drivers/net/stack/include/rtdev.h
+++ b/kernel/drivers/net/stack/include/rtdev.h
@@ -26,7 +26,7 @@
 #ifndef __RTDEV_H_
 #define __RTDEV_H_
 
-#define MAX_RT_DEVICES                  8
+#define MAX_RT_DEVICES                  32
 
 #ifdef __KERNEL__
 
-- 
2.20.1




More information about the Xenomai mailing list