Searched refs:lags (Results 1 – 4 of 4) sorted by relevance
1068 unsigned long bond_mask = ocelot->lags[i]; in ocelot_port_attr_stp_state_set()1383 bond_mask = ocelot->lags[lag]; in ocelot_set_aggr_pgids()1408 unsigned long bond_mask = ocelot->lags[lag]; in ocelot_setup_lag()1447 ocelot->lags[p] = bond_mask; in ocelot_port_lag_join()1451 ocelot->lags[lp] = 0; in ocelot_port_lag_join()1455 ocelot->lags[lp] |= BIT(p); in ocelot_port_lag_join()1474 ocelot->lags[i] &= ~BIT(ocelot_port->chip_port); in ocelot_port_lag_leave()1479 if (ocelot->lags[p]) { in ocelot_port_lag_leave()1480 int n = __ffs(ocelot->lags[p]); in ocelot_port_lag_leave()1482 ocelot->lags[n] = ocelot->lags[p]; in ocelot_port_lag_leave()[all …]
496 u32 *lags; member
125 struct mlxsw_sp_upper *lags; member154 return &mlxsw_sp->lags[lag_id]; in mlxsw_sp_lag_get()
3678 mlxsw_sp->lags = kcalloc(MLXSW_CORE_RES_GET(mlxsw_sp->core, MAX_LAG), in mlxsw_sp_lag_init()3681 if (!mlxsw_sp->lags) in mlxsw_sp_lag_init()3689 kfree(mlxsw_sp->lags); in mlxsw_sp_lag_fini()