Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs.c156 struct mlx5_flow_handle *trap_rule; member
397 fs->vlan->trap_rule = NULL; in mlx5e_add_vlan_trap()
401 fs->vlan->trap_rule = rule; in mlx5e_add_vlan_trap()
407 if (fs->vlan->trap_rule) { in mlx5e_remove_vlan_trap()
408 mlx5_del_flow_rules(fs->vlan->trap_rule); in mlx5e_remove_vlan_trap()
409 fs->vlan->trap_rule = NULL; in mlx5e_remove_vlan_trap()
422 fs->l2.trap_rule = NULL; in mlx5e_add_mac_trap()
426 fs->l2.trap_rule = rule; in mlx5e_add_mac_trap()
432 if (fs->l2.trap_rule) { in mlx5e_remove_mac_trap()
433 mlx5_del_flow_rules(fs->l2.trap_rule); in mlx5e_remove_mac_trap()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dfs.h53 struct mlx5_flow_handle *trap_rule; member