Searched refs:lags (Results 1 – 4 of 4) sorted by relevance
1248 unsigned long bond_mask = ocelot->lags[i]; in ocelot_port_attr_stp_state_set()1557 bond_mask = ocelot->lags[lag]; in ocelot_set_aggr_pgids()1582 unsigned long bond_mask = ocelot->lags[lag]; in ocelot_setup_lag()1621 ocelot->lags[p] = bond_mask; in ocelot_port_lag_join()1625 ocelot->lags[lp] = 0; in ocelot_port_lag_join()1629 ocelot->lags[lp] |= BIT(p); in ocelot_port_lag_join()1648 ocelot->lags[i] &= ~BIT(ocelot_port->chip_port); in ocelot_port_lag_leave()1653 if (ocelot->lags[p]) { in ocelot_port_lag_leave()1654 int n = __ffs(ocelot->lags[p]); in ocelot_port_lag_leave()1656 ocelot->lags[n] = ocelot->lags[p]; in ocelot_port_lag_leave()[all …]
460 u32 *lags; member
148 struct mlxsw_sp_upper *lags; member187 return &mlxsw_sp->lags[lag_id]; in mlxsw_sp_lag_get()
4680 mlxsw_sp->lags = kcalloc(MLXSW_CORE_RES_GET(mlxsw_sp->core, MAX_LAG), in mlxsw_sp_lag_init()4683 if (!mlxsw_sp->lags) in mlxsw_sp_lag_init()4691 kfree(mlxsw_sp->lags); in mlxsw_sp_lag_fini()