Home
last modified time | relevance | path

Searched refs:lags (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/marvell/prestera/
Dprestera_main.c497 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()
Dprestera.h196 struct prestera_lag *lags; member
/Linux-v5.15/net/dsa/
Ddsa2.c94 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()
/Linux-v5.15/include/net/
Ddsa.h153 struct net_device **lags; member
162 if ((_dst)->lags[(_id)])
175 return dst->lags[id]; in dsa_lag_dev()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.h164 struct mlxsw_sp_upper *lags; member
242 return &mlxsw_sp->lags[lag_id]; in mlxsw_sp_lag_get()
Dspectrum.c2494 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()
/Linux-v5.15/Documentation/RCU/Design/Data-Structures/
DData-Structures.rst409 | No, because if the ``->gp_seq_needed`` field lags behind the |