Searched refs:root_path_cost (Results 1 – 3 of 3) sorted by relevance
192 br->root_path_cost = 0; in br_root_selection()196 br->root_path_cost = READ_ONCE(p->designated_cost) + in br_root_selection()232 bpdu.root_path_cost = br->root_path_cost; in br_transmit_config()262 WRITE_ONCE(p->designated_cost, bpdu->root_path_cost); in br_record_config_information()309 if (br->root_path_cost < p_designated_cost) in br_should_become_designated_port()311 else if (br->root_path_cost > p_designated_cost) in br_should_become_designated_port()353 if (bpdu->root_path_cost < p_designated_cost) in br_supersedes_port_info()355 else if (bpdu->root_path_cost > p_designated_cost) in br_supersedes_port_info()436 WRITE_ONCE(p->designated_cost, br->root_path_cost); in br_become_designated_port()
32 int root_path_cost; member
541 u32 root_path_cost; member