diff options
| author | Vivien Didelot <[email protected]> | 2019-10-31 02:09:13 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-10-31 21:26:38 +0000 |
| commit | c5f51765a1f60b701840544faf3ca63204b8dc3c (patch) | |
| tree | 41309bd98e2d94c30e76b3ada52475d1bebb86dd /net/unix/af_unix.c | |
| parent | Merge branch 'dpaa2-eth-add-MAC-PHY-support-through-phylink' (diff) | |
| download | kernel-c5f51765a1f60b701840544faf3ca63204b8dc3c.tar.gz kernel-c5f51765a1f60b701840544faf3ca63204b8dc3c.zip | |
net: dsa: list DSA links in the fabric
Implement a new list of DSA links in the switch fabric itself, to
provide an alterative to the ds->rtable static arrays.
At the same time, provide a new dsa_routing_port() helper to abstract
the usage of ds->rtable in drivers. If there's no port to reach a
given device, return the first invalid port, ds->num_ports. This avoids
potential signedness errors or the need to define special values.
Signed-off-by: Vivien Didelot <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
