aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/switchdev.h
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-11-06 16:11:49 -0500
committerDavid S. Miller <davem@davemloft.net>2017-11-09 09:26:49 +0900
commitf163da8853aa9d8060157a96ed314299b87ba070 (patch)
tree73eab0f44676943c15efaa98ea7015c21d7742b9 /include/net/switchdev.h
parentnet: dsa: setup and teardown ports (diff)
downloadwireguard-linux-f163da8853aa9d8060157a96ed314299b87ba070.tar.xz
wireguard-linux-f163da8853aa9d8060157a96ed314299b87ba070.zip
net: dsa: add find port by node helper
Instead of having two dsa_ds_find_port_dn (which returns a bool) and dsa_dst_find_port_dn (which returns a switch) functions, provide a more explicit dsa_tree_find_port_by_node function which returns a matching port. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/switchdev.h')
0 files changed, 0 insertions, 0 deletions