commit | 057cad2c59d73b0c4a6638546f3099d6fb444094 | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Thu Oct 26 11:22:57 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Sat Oct 28 00:00:09 2017 +0900 |
tree | d5e2c457e3000a1f2e699dac1668320c4a2f66f2 | |
parent | 02bc6e546e858b209c3ebe380a13a73b333b1b3f [diff] |
net: dsa: define port types Introduce an enumerated type for ports, which will be way more explicit to identify a port type instead of digging into switch port masks. A port can be of type CPU, DSA, user, or unused by default. This is a static parsed information that cannot be changed at runtime. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>