diff options
| author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-10-26 18:22:57 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-10-27 18:00:09 +0300 |
| commit | 057cad2c59d73b0c4a6638546f3099d6fb444094 (patch) | |
| tree | d5e2c457e3000a1f2e699dac1668320c4a2f66f2 /include/linux/node.h | |
| parent | 02bc6e546e858b209c3ebe380a13a73b333b1b3f (diff) | |
| download | linux-057cad2c59d73b0c4a6638546f3099d6fb444094.tar.xz | |
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>
Diffstat (limited to 'include/linux/node.h')
0 files changed, 0 insertions, 0 deletions
