Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dbond.c290 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()
327 &uplink_priv->bond->nb, in mlx5e_rep_bond_init()
328 &uplink_priv->bond->nn); in mlx5e_rep_bond_init()
331 kvfree(uplink_priv->bond); in mlx5e_rep_bond_init()
332 uplink_priv->bond = NULL; in mlx5e_rep_bond_init()
344 !rpriv->uplink_priv.bond) in mlx5e_rep_bond_cleanup()
348 &rpriv->uplink_priv.bond->nb, in mlx5e_rep_bond_cleanup()
[all …]
H A Dtc.c39 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_encap_entry_attach() local
74 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_encap_entry_detach() local
259 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_tc_init() local
262 mutex_init(&uplink_priv->unready_flows_lock); in mlx5e_rep_tc_init()
263 INIT_LIST_HEAD(&uplink_priv->unready_flows); in mlx5e_rep_tc_init()
266 err = mlx5e_tc_esw_init(uplink_priv); in mlx5e_rep_tc_init()
273 mlx5e_tc_esw_cleanup(&rpriv->uplink_priv); in mlx5e_rep_tc_cleanup()
672 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_tc_netdevice_event_register() local
691 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_rep_tc_receive() local
715 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_rep_tc_receive()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c299 uplink_priv = &uplink_rpriv->uplink_priv; in get_act_stats_handle()
316 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_get_int_port_priv()
334 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_get_flow_meters()
358 uplink_priv = &uplink_rpriv->uplink_priv; in get_ct_priv()
375 uplink_priv = &uplink_rpriv->uplink_priv; in get_sample_priv()
393 uplink_priv = &uplink_rpriv->uplink_priv; in get_post_action()
1627 uplink_priv = &rpriv->uplink_priv; in add_unready_flow()
1642 uplink_priv = &rpriv->uplink_priv; in remove_unready_flow()
2149 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_get_flow_tunnel_id()
2232 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_put_flow_tunnel_id()
[all …]
H A Den_rep.c1081 struct mlx5_rep_uplink_priv *uplink_priv = in mlx5e_rep_mpesw_work() local
1085 container_of(uplink_priv, struct mlx5e_rep_priv, in mlx5e_rep_mpesw_work()
1086 uplink_priv); in mlx5e_rep_mpesw_work()
1105 INIT_WORK(&rpriv->uplink_priv.mpesw_work, mlx5e_rep_mpesw_work); in mlx5e_init_ul_rep_rx()
1115 cancel_work_sync(&rpriv->uplink_priv.mpesw_work); in mlx5e_cleanup_ul_rep_rx()
1123 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_init_uplink_rep_tx() local
1130 uplink_priv = &rpriv->uplink_priv; in mlx5e_init_uplink_rep_tx()
1136 mlx5_init_port_tun_entropy(&uplink_priv->tun_entropy, priv->mdev); in mlx5e_init_uplink_rep_tx()
1233 queue_work(priv->wq, &rpriv->uplink_priv.mpesw_work); in mlx5e_rep_event_mpesw()
H A Den_tc.h186 int mlx5e_tc_esw_init(struct mlx5_rep_uplink_priv *uplink_priv);
187 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
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_encap.c790 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()