Home
last modified time | relevance | path

Searched refs:int_port_priv (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dint_port.c309 struct mlx5e_tc_int_port_priv *int_port_priv; in mlx5e_tc_int_port_init() local
315 int_port_priv = kzalloc(sizeof(*int_port_priv), GFP_KERNEL); in mlx5e_tc_int_port_init()
316 if (!int_port_priv) in mlx5e_tc_int_port_init()
321 int_port_priv->metadata_mapping = mapping_create_for_id(mapping_id, MAPPING_TYPE_INT_PORT, in mlx5e_tc_int_port_init()
324 if (IS_ERR(int_port_priv->metadata_mapping)) { in mlx5e_tc_int_port_init()
326 PTR_ERR(int_port_priv->metadata_mapping)); in mlx5e_tc_int_port_init()
330 int_port_priv->dev = priv->mdev; in mlx5e_tc_int_port_init()
331 mutex_init(&int_port_priv->int_ports_lock); in mlx5e_tc_int_port_init()
332 INIT_LIST_HEAD(&int_port_priv->int_ports); in mlx5e_tc_int_port_init()
334 return int_port_priv; in mlx5e_tc_int_port_init()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.h100 struct mlx5e_tc_int_port_priv *int_port_priv; member
H A Den_tc.c318 return uplink_priv->int_port_priv; in mlx5e_get_int_port_priv()
4233 struct mlx5e_tc_int_port_priv *int_port_priv; in mlx5e_set_fwd_to_int_port_actions() local
4239 int_port_priv = mlx5e_get_int_port_priv(priv); in mlx5e_set_fwd_to_int_port_actions()
4241 dest_int_port = mlx5e_tc_int_port_get(int_port_priv, ifindex, type); in mlx5e_set_fwd_to_int_port_actions()
4249 mlx5e_tc_int_port_put(int_port_priv, dest_int_port); in mlx5e_set_fwd_to_int_port_actions()
5413 uplink_priv->int_port_priv = mlx5e_tc_int_port_init(netdev_priv(priv->netdev)); in mlx5e_tc_esw_init()
5468 mlx5e_tc_int_port_cleanup(uplink_priv->int_port_priv); in mlx5e_tc_esw_init()
5494 mlx5e_tc_int_port_cleanup(uplink_priv->int_port_priv); in mlx5e_tc_esw_cleanup()
5744 if (mlx5e_tc_int_port_dev_fwd(uplink_priv->int_port_priv, skb, in mlx5e_tc_restore_skb_int_port()