[PATCH 18/31] net/stack: increase maximum number of ethernet devices

Jean-Baptiste Tr├ędez jean-baptiste.tredez at alstefgroup.com
Tue May 11 18:05:22 CEST 2021


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 27c390df5..77f142174 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.17.1




More information about the Xenomai mailing list