Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
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(sizeof(*uplink_priv->bond), GFP_KERNEL); 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 …]
Dtc.c40 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_encap_entry_attach() local
41 struct mlx5_tun_entropy *tun_entropy = &uplink_priv->tun_entropy; in mlx5e_rep_encap_entry_attach()
75 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_encap_entry_detach() local
76 struct mlx5_tun_entropy *tun_entropy = &uplink_priv->tun_entropy; in mlx5e_rep_encap_entry_detach()
260 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_tc_init() local
263 mutex_init(&uplink_priv->unready_flows_lock); in mlx5e_rep_tc_init()
264 INIT_LIST_HEAD(&uplink_priv->unready_flows); in mlx5e_rep_tc_init()
267 err = mlx5e_tc_esw_init(uplink_priv); in mlx5e_rep_tc_init()
274 mlx5e_tc_esw_cleanup(&rpriv->uplink_priv); in mlx5e_rep_tc_cleanup()
275 mutex_destroy(&rpriv->uplink_priv.unready_flows_lock); in mlx5e_rep_tc_cleanup()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dint_port.c361 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_tc_int_port_init_rep_rx() local
366 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_tc_int_port_init_rep_rx()
368 ppriv = uplink_priv->int_port_priv; in mlx5e_tc_int_port_init_rep_rx()
381 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_tc_int_port_cleanup_rep_rx() local
387 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_tc_int_port_cleanup_rep_rx()
389 ppriv = uplink_priv->int_port_priv; in mlx5e_tc_int_port_cleanup_rep_rx()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c275 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_get_int_port_priv() local
280 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_get_int_port_priv()
282 return uplink_priv->int_port_priv; in mlx5e_get_int_port_priv()
292 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_get_flow_meters() local
298 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_get_flow_meters()
300 if (!uplink_priv->flow_meters) in mlx5e_get_flow_meters()
301 uplink_priv->flow_meters = in mlx5e_get_flow_meters()
304 uplink_priv->post_act); in mlx5e_get_flow_meters()
305 if (!IS_ERR(uplink_priv->flow_meters)) in mlx5e_get_flow_meters()
306 return uplink_priv->flow_meters; in mlx5e_get_flow_meters()
[all …]
Den_tc.h182 int mlx5e_tc_esw_init(struct mlx5_rep_uplink_priv *uplink_priv);
183 void mlx5e_tc_esw_cleanup(struct mlx5_rep_uplink_priv *uplink_priv);
Den_rep.h112 struct mlx5_rep_uplink_priv uplink_priv; /* valid for uplink rep */ member
Den_rep.c992 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_init_uplink_rep_tx() local
999 uplink_priv = &rpriv->uplink_priv; in mlx5e_init_uplink_rep_tx()
1005 mlx5_init_port_tun_entropy(&uplink_priv->tun_entropy, priv->mdev); in mlx5e_init_uplink_rep_tx()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_encap.c745 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_route_tbl_get_last_update() local
751 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_route_tbl_get_last_update()
752 encap = uplink_priv->encap; in mlx5e_route_tbl_get_last_update()
1064 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_route_get_create() local
1071 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_route_get_create()
1072 encap = uplink_priv->encap; in mlx5e_route_get_create()