Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dhelper.c54 if (vport->egress.allowed_vlan) in esw_egress_acl_vlan_create()
68 vport->egress.allowed_vlan = in esw_egress_acl_vlan_create()
71 if (IS_ERR(vport->egress.allowed_vlan)) { in esw_egress_acl_vlan_create()
72 err = PTR_ERR(vport->egress.allowed_vlan); in esw_egress_acl_vlan_create()
76 vport->egress.allowed_vlan = NULL; in esw_egress_acl_vlan_create()
85 if (!IS_ERR_OR_NULL(vport->egress.allowed_vlan)) { in esw_acl_egress_vlan_destroy()
86 mlx5_del_flow_rules(vport->egress.allowed_vlan); in esw_acl_egress_vlan_destroy()
87 vport->egress.allowed_vlan = NULL; in esw_acl_egress_vlan_destroy()
/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h96 struct mlx5_flow_handle *allowed_vlan; member