Home
last modified time | relevance | path

Searched refs:en_port_count (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/include/linux/
Dif_team.h197 int en_port_count; member
262 int en_port_count = READ_ONCE(team->en_port_count); in team_num_to_port_index() local
264 if (unlikely(!en_port_count)) in team_num_to_port_index()
266 return num % en_port_count; in team_num_to_port_index()
/Linux-v5.10/drivers/net/team/
Dteam_mode_random.c19 port_index = prandom_u32_max(team->en_port_count); in rnd_transmit()
Dteam.c533 if (!team->en_port_count || !team_is_mode_set(team) || in team_adjust_ops()
539 if (!team->en_port_count || !team_is_mode_set(team) || in team_adjust_ops()
935 port->index = team->en_port_count++; in team_port_enable()
952 for (i = rm_index + 1; i < team->en_port_count; i++) { in __reconstruct_port_hlist()
971 team->en_port_count--; in team_port_disable()