diff options
| author | Vivien Didelot <[email protected]> | 2017-11-06 21:11:49 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-11-09 00:26:49 +0000 |
| commit | f163da8853aa9d8060157a96ed314299b87ba070 (patch) | |
| tree | 73eab0f44676943c15efaa98ea7015c21d7742b9 /net/sched/cls_basic.c | |
| parent | net: dsa: setup and teardown ports (diff) | |
| download | kernel-f163da8853aa9d8060157a96ed314299b87ba070.tar.gz kernel-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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sched/cls_basic.c')
0 files changed, 0 insertions, 0 deletions
