aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_basic.c
diff options
context:
space:
mode:
authorVivien Didelot <[email protected]>2017-11-06 21:11:48 +0000
committerDavid S. Miller <[email protected]>2017-11-09 00:26:49 +0000
commit1d27732f411d57f0168af30be2adb504b8b7749d (patch)
tree4d27342910325b453e82f0889d61fc7c4a4b514f /net/sched/cls_basic.c
parentnet: dsa: setup and teardown switches (diff)
downloadkernel-1d27732f411d57f0168af30be2adb504b8b7749d.tar.gz
kernel-1d27732f411d57f0168af30be2adb504b8b7749d.zip
net: dsa: setup and teardown ports
The dsa_dsa_port_apply and dsa_cpu_port_apply functions do exactly the same. The dsa_user_port_apply function does not try to register a fixed link but try to create a slave. This commit factorizes and scopes all that in two convenient dsa_port_setup and dsa_port_teardown functions. It won't hurt to register a devlink_port for unused port as well. 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