]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: loop: Support 4K VLANs
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 3 Aug 2020 20:03:51 +0000 (13:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Aug 2020 01:19:22 +0000 (18:19 -0700)
commite33fabbaed3d6bb150a2f6bccef6789099f6ab45
tree410370e085f42359be7902029802eaa45c952687
parentecc8005cf66e57e404ed0ca6fcad88e0c4de8e12
net: dsa: loop: Support 4K VLANs

Allocate a 4K array of VLANs instead of limiting ourselves to just 5
which is arbitrary.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/dsa_loop.c