Home
last modified time | relevance | path

Searched refs:num_active_ports (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/
Dlan966x_lag.c41 int num_active_ports = 0; in lan966x_lag_set_aggr_pgids() local
61 aggr_idx[num_active_ports++] = p; in lan966x_lag_set_aggr_pgids()
72 if (num_active_ports) in lan966x_lag_set_aggr_pgids()
73 ac |= BIT(aggr_idx[i % num_active_ports]); in lan966x_lag_set_aggr_pgids()
/linux-6.6.21/drivers/net/ethernet/mscc/
Docelot.c2064 int num_active_ports = 0; in ocelot_set_aggr_pgids() local
2081 aggr_idx[num_active_ports++] = port; in ocelot_set_aggr_pgids()
2092 if (num_active_ports) in ocelot_set_aggr_pgids()
2093 ac |= BIT(aggr_idx[i % num_active_ports]); in ocelot_set_aggr_pgids()