Searched refs:lags (Results 1 – 7 of 7) sorted by relevance
497 return id < sw->lag_max ? &sw->lags[id] : NULL; in prestera_lag_by_id()507 lag = &sw->lags[id]; in prestera_lag_by_dev()522 lag = &sw->lags[id]; in prestera_lag_create()618 sw->lags = kcalloc(sw->lag_max, sizeof(*sw->lags), GFP_KERNEL); in prestera_lag_init()619 if (!sw->lags) in prestera_lag_init()623 sw->lags[id].lag_id = id; in prestera_lag_init()633 WARN_ON(sw->lags[idx].member_count); in prestera_lag_fini()635 kfree(sw->lags); in prestera_lag_fini()
196 struct prestera_lag *lags; member
94 dst->lags[id] = lag; in dsa_lag_map()126 dst->lags[id] = NULL; in dsa_lag_unmap()1047 dst->lags = kcalloc(len, sizeof(*dst->lags), GFP_KERNEL); in dsa_tree_setup_lags()1048 if (!dst->lags) in dsa_tree_setup_lags()1057 kfree(dst->lags); in dsa_tree_teardown_lags()
153 struct net_device **lags; member162 if ((_dst)->lags[(_id)])175 return dst->lags[id]; in dsa_lag_dev()
164 struct mlxsw_sp_upper *lags; member242 return &mlxsw_sp->lags[lag_id]; in mlxsw_sp_lag_get()
2494 mlxsw_sp->lags = kcalloc(MLXSW_CORE_RES_GET(mlxsw_sp->core, MAX_LAG), in mlxsw_sp_lag_init()2497 if (!mlxsw_sp->lags) in mlxsw_sp_lag_init()2505 kfree(mlxsw_sp->lags); in mlxsw_sp_lag_fini()
409 | No, because if the ``->gp_seq_needed`` field lags behind the |