Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dif_team.h204 int en_port_count; member
268 int en_port_count = READ_ONCE(team->en_port_count); in team_num_to_port_index() local
270 if (unlikely(!en_port_count)) in team_num_to_port_index()
272 return num % en_port_count; in team_num_to_port_index()
/Linux-v4.19/drivers/net/team/
Dteam_mode_random.c23 port_index = prandom_u32_max(team->en_port_count); in rnd_transmit()
Dteam.c547 if (!team->en_port_count || !team_is_mode_set(team) || in team_adjust_ops()
553 if (!team->en_port_count || !team_is_mode_set(team) || in team_adjust_ops()
949 port->index = team->en_port_count++; in team_port_enable()
966 for (i = rm_index + 1; i < team->en_port_count; i++) { in __reconstruct_port_hlist()
985 team->en_port_count--; in team_port_disable()