Searched refs:hw_port_list (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/net/dsa/ |
H A D | slave.c | 1373 static int dsa_hw_port_list_set_mtu(struct list_head *hw_port_list, int mtu) in dsa_hw_port_list_set_mtu() argument 1378 list_for_each_entry(p, hw_port_list, list) { in dsa_hw_port_list_set_mtu() 1390 list_for_each_entry_continue_reverse(p, hw_port_list, list) { in dsa_hw_port_list_set_mtu() 1401 static void dsa_hw_port_list_free(struct list_head *hw_port_list) in dsa_hw_port_list_free() argument 1405 list_for_each_entry_safe(p, n, hw_port_list, list) in dsa_hw_port_list_free() 1412 struct list_head hw_port_list; in dsa_bridge_mtu_normalization() local 1424 INIT_LIST_HEAD(&hw_port_list); in dsa_bridge_mtu_normalization() 1455 list_add(&hw_port->list, &hw_port_list); in dsa_bridge_mtu_normalization() 1463 err = dsa_hw_port_list_set_mtu(&hw_port_list, dp->slave->mtu); in dsa_bridge_mtu_normalization() 1471 dsa_hw_port_list_set_mtu(&hw_port_list, min_mt in dsa_bridge_mtu_normalization() [all...] |
/kernel/linux/linux-6.6/net/dsa/ |
H A D | slave.c | 1965 static int dsa_hw_port_list_set_mtu(struct list_head *hw_port_list, int mtu) in dsa_hw_port_list_set_mtu() argument 1970 list_for_each_entry(p, hw_port_list, list) { in dsa_hw_port_list_set_mtu() 1982 list_for_each_entry_continue_reverse(p, hw_port_list, list) { in dsa_hw_port_list_set_mtu() 1993 static void dsa_hw_port_list_free(struct list_head *hw_port_list) in dsa_hw_port_list_free() argument 1997 list_for_each_entry_safe(p, n, hw_port_list, list) in dsa_hw_port_list_free() 2004 struct list_head hw_port_list; in dsa_bridge_mtu_normalization() local 2016 INIT_LIST_HEAD(&hw_port_list); in dsa_bridge_mtu_normalization() 2047 list_add(&hw_port->list, &hw_port_list); in dsa_bridge_mtu_normalization() 2055 err = dsa_hw_port_list_set_mtu(&hw_port_list, dp->slave->mtu); in dsa_bridge_mtu_normalization() 2063 dsa_hw_port_list_set_mtu(&hw_port_list, min_mt in dsa_bridge_mtu_normalization() [all...] |
Completed in 7 milliseconds