Searched refs:lags (Results 1 – 9 of 9) sorted by relevance
872 return id < sw->lag_max ? &sw->lags[id] : NULL; in prestera_lag_by_id()882 lag = &sw->lags[id]; in prestera_lag_by_dev()921 lag = &sw->lags[id]; in prestera_lag_create()1017 sw->lags = kzalloc_objs(*sw->lags, sw->lag_max); in prestera_lag_init()1018 if (!sw->lags) in prestera_lag_init()1022 sw->lags[id].lag_id = id; in prestera_lag_init()1032 WARN_ON(sw->lags[idx].member_count); in prestera_lag_fini()1034 kfree(sw->lags); in prestera_lag_fini()
305 struct prestera_lag *lags; member
63 if (!ethsw->lags[i].in_use) in dpaa2_switch_lag_get_unused()64 return ðsw->lags[i]; in dpaa2_switch_lag_get_unused()2467 if (!ethsw->lags[i].in_use) in dpaa2_switch_pre_lag_join()2469 if (ethsw->lags[i].bond_dev != upper_dev) in dpaa2_switch_pre_lag_join()2471 lag = ðsw->lags[i]; in dpaa2_switch_pre_lag_join()2564 struct dpaa2_switch_lag *lag = ðsw->lags[lag_id - 1]; in dpaa2_switch_set_lag_cfg()3992 mutex_destroy(ðsw->lags[i].fdb_lock); in dpaa2_switch_remove()3998 kfree(ethsw->lags); in dpaa2_switch_remove()4134 ethsw->lags = kcalloc(ethsw->sw_attr.num_ifs, sizeof(*ethsw->lags), in dpaa2_switch_probe()4136 if (!ethsw->lags) { in dpaa2_switch_probe()[all …]
218 struct dpaa2_switch_lag *lags; member
71 dst->lags[id - 1] = lag; in dsa_lag_map()99 dst->lags[id - 1] = NULL; in dsa_lag_unmap()848 dst->lags = kzalloc_objs(*dst->lags, len); in dsa_tree_setup_lags()849 if (!dst->lags) in dsa_tree_setup_lags()858 kfree(dst->lags); in dsa_tree_teardown_lags()
151 struct dsa_lag **lags; member183 if ((_dst)->lags[(_id) - 1])197 return dst->lags[id - 1]; in dsa_lag_by_id()
2629 mlxsw_sp->lags = kzalloc_objs(struct mlxsw_sp_lag, mlxsw_sp->max_lag); in mlxsw_sp_lag_init()2630 if (!mlxsw_sp->lags) { in mlxsw_sp_lag_init()2645 kfree(mlxsw_sp->lags); in mlxsw_sp_lag_fini()4119 if (!mlxsw_sp->lags[i].dev) in mlxsw_sp_lag_create()4135 lag = &mlxsw_sp->lags[lag_id]; in mlxsw_sp_lag_create()4204 if (!mlxsw_sp->lags[i].dev) in mlxsw_sp_lag_find()4207 if (mlxsw_sp->lags[i].dev == lag_dev) in mlxsw_sp_lag_find()4208 return &mlxsw_sp->lags[i]; in mlxsw_sp_lag_find()4428 lag = &mlxsw_sp->lags[lag_id]; in mlxsw_sp_port_lag_leave()
67 cause janks (lags when rendering UI) and negatively impact user
442 | No, because if the ``->gp_seq_needed`` field lags behind the |