Home
last modified time | relevance | path

Searched refs:uplink_priv (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dbond.c36 mlx5e_lookup_rep_bond_metadata(struct mlx5_rep_uplink_priv *uplink_priv, in mlx5e_lookup_rep_bond_metadata() argument
42 list_for_each_entry(cur, &uplink_priv->bond->metadata_list, list) { in mlx5e_lookup_rep_bond_metadata()
92 mdata = mlx5e_lookup_rep_bond_metadata(&rpriv->uplink_priv, lag_dev); in mlx5e_rep_bond_enslave()
107 list_add(&mdata->list, &rpriv->uplink_priv.bond->metadata_list); in mlx5e_rep_bond_enslave()
156 mdata = mlx5e_lookup_rep_bond_metadata(&rpriv->uplink_priv, lag_dev); in mlx5e_rep_bond_unslave()
290 if (rpriv->uplink_priv.bond != bond) in mlx5e_rep_esw_bond_netevent()
309 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_bond_init() local
318 uplink_priv->bond = kvzalloc_obj(*uplink_priv->bond); in mlx5e_rep_bond_init()
319 if (!uplink_priv->bond) { in mlx5e_rep_bond_init()
324 INIT_LIST_HEAD(&uplink_priv->bond->metadata_list); in mlx5e_rep_bond_init()
[all …]
H A Dtc.c39 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_encap_entry_attach() local
40 struct mlx5_tun_entropy *tun_entropy = &uplink_priv->tun_entropy; in mlx5e_rep_encap_entry_attach()
74 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_encap_entry_detach() local
75 struct mlx5_tun_entropy *tun_entropy = &uplink_priv->tun_entropy; in mlx5e_rep_encap_entry_detach()
273 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_tc_init() local
276 mutex_init(&uplink_priv->unready_flows_lock); in mlx5e_rep_tc_init()
277 INIT_LIST_HEAD(&uplink_priv->unready_flows); in mlx5e_rep_tc_init()
280 err = mlx5e_tc_esw_init(uplink_priv); in mlx5e_rep_tc_init()
287 mlx5e_tc_esw_cleanup(&rpriv->uplink_priv); in mlx5e_rep_tc_cleanup()
288 mutex_destroy(&rpriv->uplink_priv.unready_flows_lock); in mlx5e_rep_tc_cleanup()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c295 struct mlx5_rep_uplink_priv *uplink_priv; in get_act_stats_handle() local
300 uplink_priv = &uplink_rpriv->uplink_priv; in get_act_stats_handle()
302 return uplink_priv->action_stats_handle; in get_act_stats_handle()
312 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_get_int_port_priv() local
317 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_get_int_port_priv()
319 return uplink_priv->int_port_priv; in mlx5e_get_int_port_priv()
329 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_get_flow_meters() local
335 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_get_flow_meters()
337 if (!uplink_priv->flow_meters) in mlx5e_get_flow_meters()
338 uplink_priv->flow_meters = in mlx5e_get_flow_meters()
[all …]
H A Den_rep.c1141 struct mlx5_rep_uplink_priv *uplink_priv = in mlx5e_rep_mpesw_work() local
1145 container_of(uplink_priv, struct mlx5e_rep_priv, in mlx5e_rep_mpesw_work()
1146 uplink_priv); in mlx5e_rep_mpesw_work()
1165 INIT_WORK(&rpriv->uplink_priv.mpesw_work, mlx5e_rep_mpesw_work); in mlx5e_init_ul_rep_rx()
1175 cancel_work_sync(&rpriv->uplink_priv.mpesw_work); in mlx5e_cleanup_ul_rep_rx()
1183 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_init_uplink_rep_tx() local
1190 uplink_priv = &rpriv->uplink_priv; in mlx5e_init_uplink_rep_tx()
1196 mlx5_init_port_tun_entropy(&uplink_priv->tun_entropy, priv->mdev); in mlx5e_init_uplink_rep_tx()
1291 queue_work(priv->wq, &rpriv->uplink_priv.mpesw_work); in mlx5e_rep_event_mpesw()
H A Den_tc.h187 int mlx5e_tc_esw_init(struct mlx5_rep_uplink_priv *uplink_priv);
188 void mlx5e_tc_esw_cleanup(struct mlx5_rep_uplink_priv *uplink_priv);
H A Den_rep.h117 struct mlx5_rep_uplink_priv uplink_priv; /* valid for uplink rep */ member
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dint_port.c363 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_tc_int_port_init_rep_rx() local
368 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_tc_int_port_init_rep_rx()
370 ppriv = uplink_priv->int_port_priv; in mlx5e_tc_int_port_init_rep_rx()
383 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_tc_int_port_cleanup_rep_rx() local
389 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_tc_int_port_cleanup_rep_rx()
391 ppriv = uplink_priv->int_port_priv; in mlx5e_tc_int_port_cleanup_rep_rx()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_encap.c796 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_route_tbl_get_last_update() local
802 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_route_tbl_get_last_update()
803 encap = uplink_priv->encap; in mlx5e_route_tbl_get_last_update()
1186 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_route_get_create() local
1193 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_route_get_create()
1194 encap = uplink_priv->encap; in mlx5e_route_get_create()