Searched refs:uplink_priv (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | bond.c | 36 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 …]
|
D | tc.c | 39 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-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.c | 294 struct mlx5_rep_uplink_priv *uplink_priv; in get_act_stats_handle() local 299 uplink_priv = &uplink_rpriv->uplink_priv; in get_act_stats_handle() 301 return uplink_priv->action_stats_handle; in get_act_stats_handle() 311 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_get_int_port_priv() local 316 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_get_int_port_priv() 318 return uplink_priv->int_port_priv; in mlx5e_get_int_port_priv() 328 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_get_flow_meters() local 334 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_get_flow_meters() 336 if (!uplink_priv->flow_meters) in mlx5e_get_flow_meters() 337 uplink_priv->flow_meters = in mlx5e_get_flow_meters() [all …]
|
D | en_rep.c | 1131 struct mlx5_rep_uplink_priv *uplink_priv = in mlx5e_rep_mpesw_work() local 1135 container_of(uplink_priv, struct mlx5e_rep_priv, in mlx5e_rep_mpesw_work() 1136 uplink_priv); in mlx5e_rep_mpesw_work() 1155 INIT_WORK(&rpriv->uplink_priv.mpesw_work, mlx5e_rep_mpesw_work); in mlx5e_init_ul_rep_rx() 1165 cancel_work_sync(&rpriv->uplink_priv.mpesw_work); in mlx5e_cleanup_ul_rep_rx() 1173 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_init_uplink_rep_tx() local 1180 uplink_priv = &rpriv->uplink_priv; in mlx5e_init_uplink_rep_tx() 1186 mlx5_init_port_tun_entropy(&uplink_priv->tun_entropy, priv->mdev); in mlx5e_init_uplink_rep_tx() 1281 queue_work(priv->wq, &rpriv->uplink_priv.mpesw_work); in mlx5e_rep_event_mpesw()
|
D | en_tc.h | 187 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);
|
D | en_rep.h | 117 struct mlx5_rep_uplink_priv uplink_priv; /* valid for uplink rep */ member
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | int_port.c | 361 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.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun_encap.c | 790 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_route_tbl_get_last_update() local 796 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_route_tbl_get_last_update() 797 encap = uplink_priv->encap; in mlx5e_route_tbl_get_last_update() 1180 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_route_get_create() local 1187 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_route_get_create() 1188 encap = uplink_priv->encap; in mlx5e_route_get_create()
|