Lines Matching full:dsa
3 * net/dsa/dsa2.c - Hardware switch handling, binding version 2
28 * dsa_tree_notify - Execute code for all switches in a DSA switch tree.
34 * each member DSA switch. The other alternative of traversing the tree is only
48 * dsa_broadcast - Notify all DSA trees in the system.
57 * between trees is asynchronous and not all DSA trees might have probed.
102 * driver can then return -EOPNOTSUPP back to DSA, which will in dsa_lag_map()
374 pr_err("DSA: tree %d has no CPU port\n", dst->index); in dsa_tree_setup_default_cpu()
389 /* Perform initial assignment of CPU ports to user ports and DSA links in the
1066 pr_err("DSA: tree %d already setup! Disjoint trees?\n", in dsa_tree_setup()
1093 pr_info("DSA: tree %d setup\n", dst->index); in dsa_tree_setup()
1130 pr_info("DSA: tree %d torn down\n", dst->index); in dsa_tree_teardown()
1135 /* Since the dsa/tagging sysfs device attribute is per master, the assumption
1136 * is that all DSA switches within a tree share the same tagger, otherwise
1137 * they would have formed disjoint trees (different "dsa,member" values).
1235 /* It is possible to stack DSA switches onto one another when that in dsa_get_tag_protocol()
1247 /* If the master device is not itself a DSA slave in a disjoint DSA in dsa_get_tag_protocol()
1266 "A DSA switch tree can have only one tagging protocol\n"); in dsa_port_parse_cpu()
1296 "A DSA switch tree can have only one tagging protocol\n"); in dsa_port_parse_cpu()
1347 user_protocol = of_get_property(dn, "dsa-tag-protocol", NULL); in dsa_port_parse_of()
1411 sz = of_property_read_variable_u32_array(dn, "dsa,member", m, 2, 2); in dsa_switch_parse_member_of()
1423 "A DSA switch with index %d already exists in tree %d\n", in dsa_switch_parse_member_of()
1478 if (!strcmp(name, "dsa")) in dsa_port_parse()
1621 /* If the DSA master chooses to unregister its net_device on .shutdown, DSA is
1623 * netdev_upper_dev_link. Unlink the DSA slave interfaces from being uppers of
1624 * the DSA master, so that the system can reboot successfully.
1651 * device. If the master is also a DSA switch port, this will in dsa_switch_shutdown()
1659 * the DSA slave interfaces too, to avoid the nonsensical in dsa_switch_shutdown()