luigirizzo / netmap

Automatically exported from code.google.com/p/netmap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Increase number of VALE switches that can be instantiated

sergio-gimenez opened this issue · comments

Currently, I cannot instantiate more than 8 VALE switches at the same time. Is there a way to increase that number?

Okey, I figured out myself. Fom vale man page:

   LIMITS
     vale currently supports up to 254 ports per switch. The maximum number of
     switches defaults to 8 but can be changed by means of the max_bridges
     sysctl variable.

To change the max_bridges variable simply:

modprobe netmap max_bridges=128

If we check the variable now:

❯ cat /sys/module/netmap/parameters/max_bridges
128