Lines Matching full:dsa
3 * DSA topology and switch handling
24 #include "dsa.h"
78 * driver can then return -EOPNOTSUPP back to DSA, which will in dsa_lag_map()
390 pr_err("DSA: tree %d has no CPU port\n", dst->index); in dsa_tree_setup_default_cpu()
423 /* Perform initial assignment of CPU ports to user ports and DSA links in the
507 "skipping link registration for DSA port %d\n", in dsa_port_setup()
881 pr_err("DSA: tree %d already setup! Disjoint trees?\n", in dsa_tree_setup()
912 pr_info("DSA: tree %d setup\n", dst->index); in dsa_tree_setup()
947 pr_info("DSA: tree %d torn down\n", dst->index); in dsa_tree_teardown()
983 /* Since the dsa/tagging sysfs device attribute is per conduit, the assumption
984 * is that all DSA switches within a tree share the same tagger, otherwise
985 * they would have formed disjoint trees (different "dsa,member" values).
1052 /* Don't keep track of admin state on LAG DSA conduits, in dsa_tree_conduit_admin_state_change()
1053 * but rather just of physical DSA conduits in dsa_tree_conduit_admin_state_change()
1075 /* Don't keep track of oper state on LAG DSA conduits, in dsa_tree_conduit_oper_state_change()
1076 * but rather just of physical DSA conduits in dsa_tree_conduit_oper_state_change()
1141 /* It is possible to stack DSA switches onto one another when that in dsa_get_tag_protocol()
1153 /* If the conduit device is not itself a DSA user in a disjoint DSA in dsa_get_tag_protocol()
1172 "A DSA switch tree can have only one tagging protocol\n"); in dsa_port_parse_cpu()
1209 "A DSA switch tree can have only one tagging protocol\n"); in dsa_port_parse_cpu()
1261 user_protocol = of_get_property(dn, "dsa-tag-protocol", NULL); in dsa_port_parse_of()
1325 sz = of_property_read_variable_u32_array(dn, "dsa,member", m, 2, 2); in dsa_switch_parse_member_of()
1337 "A DSA switch with index %d already exists in tree %d\n", in dsa_switch_parse_member_of()
1428 if (!strcmp(name, "dsa")) in dsa_port_parse()
1603 /* If the DSA conduit chooses to unregister its net_device on .shutdown, DSA is
1605 * netdev_upper_dev_link. Unlink the DSA user interfaces from being uppers of
1606 * the DSA conduit, so that the system can reboot successfully.
1831 MODULE_ALIAS("platform:dsa");