Searched refs:int_port_priv (Results 1 – 4 of 4) sorted by relevance
309 struct mlx5e_tc_int_port_priv *int_port_priv; in mlx5e_tc_int_port_init() local315 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 …]
100 struct mlx5e_tc_int_port_priv *int_port_priv; member
281 return uplink_priv->int_port_priv; in mlx5e_get_int_port_priv()4031 struct mlx5e_tc_int_port_priv *int_port_priv; in mlx5e_set_fwd_to_int_port_actions() local4037 int_port_priv = mlx5e_get_int_port_priv(priv); in mlx5e_set_fwd_to_int_port_actions()4039 dest_int_port = mlx5e_tc_int_port_get(int_port_priv, ifindex, type); in mlx5e_set_fwd_to_int_port_actions()4047 mlx5e_tc_int_port_put(int_port_priv, dest_int_port); in mlx5e_set_fwd_to_int_port_actions()5110 uplink_priv->int_port_priv = mlx5e_tc_int_port_init(netdev_priv(priv->netdev)); in mlx5e_tc_esw_init()5151 mlx5e_tc_int_port_cleanup(uplink_priv->int_port_priv); in mlx5e_tc_esw_init()5167 mlx5e_tc_int_port_cleanup(uplink_priv->int_port_priv); in mlx5e_tc_esw_cleanup()
830 if (mlx5e_tc_int_port_dev_fwd(uplink_priv->int_port_priv, skb, in mlx5e_restore_skb_int_port()