diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-11-30 20:56:42 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-03 05:20:59 +0300 |
commit | 3b8fac5d905ee15346ba2de1e2427ef43fbbd880 (patch) | |
tree | e7869942809937bd39cf27ab91c15e4cc9208b23 /net/dsa | |
parent | 5420683ae3d2b986f04efa99a7afd2d57e092004 (diff) | |
download | linux-3b8fac5d905ee15346ba2de1e2427ef43fbbd880.tar.xz |
net: dsa: introduce dsa_towards_port helper
Add a new helper returning the local port used to reach an arbitrary
switch port in the fabric.
Its only user at the moment is the dsa_upstream_port helper, which
returns the local port reaching the dedicated CPU port, but it will be
used in cross-chip FDB operations.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions