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)
commit916a8d168e8aea52e6f7eb2e323d5dcbd5dc23d5
tree410370e085f42359be7902029802eaa45c952687
parent81d4e8e0731408c7fc66409cbf97f10f38964dc1
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