Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtrap.c187 struct mlx5e_trap *trap = priv->en_trap; in mlx5e_deactivate_trap()
209 mlx5e_close_trap(priv->en_trap); in mlx5e_del_trap_queue()
210 priv->en_trap = NULL; in mlx5e_del_trap_queue()
213 static int mlx5e_trap_get_tirn(struct mlx5e_trap *en_trap) in mlx5e_trap_get_tirn() argument
215 return en_trap->tir.tirn; in mlx5e_trap_get_tirn()
220 bool open_queue = !priv->en_trap; in mlx5e_handle_action_trap()
228 priv->en_trap = trap; in mlx5e_handle_action_trap()
233 err = mlx5e_add_vlan_trap(priv->fs, trap_id, mlx5e_trap_get_tirn(priv->en_trap)); in mlx5e_handle_action_trap()
238 err = mlx5e_add_mac_trap(priv->fs, trap_id, mlx5e_trap_get_tirn(priv->en_trap)); in mlx5e_handle_action_trap()
268 if (priv->en_trap && !mlx5_devlink_trap_get_num_active(priv->mdev)) in mlx5e_handle_action_drop()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Den.h930 struct mlx5e_trap *en_trap; member
A Den_main.c5434 if (priv->en_trap) { in mlx5e_nic_disable()
5436 mlx5e_close_trap(priv->en_trap); in mlx5e_nic_disable()
5437 priv->en_trap = NULL; in mlx5e_nic_disable()

Completed in 19 milliseconds