Home
last modified time | relevance | path

Searched refs:trap_rule (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c121 struct mlx5_flow_handle *trap_rule; member
364 priv->fs.vlan->trap_rule = NULL; in mlx5e_add_vlan_trap()
369 priv->fs.vlan->trap_rule = rule; in mlx5e_add_vlan_trap()
375 if (priv->fs.vlan->trap_rule) { in mlx5e_remove_vlan_trap()
376 mlx5_del_flow_rules(priv->fs.vlan->trap_rule); in mlx5e_remove_vlan_trap()
377 priv->fs.vlan->trap_rule = NULL; in mlx5e_remove_vlan_trap()
390 priv->fs.l2.trap_rule = NULL; in mlx5e_add_mac_trap()
395 priv->fs.l2.trap_rule = rule; in mlx5e_add_mac_trap()
401 if (priv->fs.l2.trap_rule) { in mlx5e_remove_mac_trap()
402 mlx5_del_flow_rules(priv->fs.l2.trap_rule); in mlx5e_remove_mac_trap()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs.h70 struct mlx5_flow_handle *trap_rule; member