Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dhelper.c58 if (vport->egress.allowed_vlan) in esw_egress_acl_vlan_create()
72 vport->egress.allowed_vlan = in esw_egress_acl_vlan_create()
75 if (IS_ERR(vport->egress.allowed_vlan)) { in esw_egress_acl_vlan_create()
76 err = PTR_ERR(vport->egress.allowed_vlan); in esw_egress_acl_vlan_create()
80 vport->egress.allowed_vlan = NULL; in esw_egress_acl_vlan_create()
89 if (!IS_ERR_OR_NULL(vport->egress.allowed_vlan)) { in esw_acl_egress_vlan_destroy()
90 mlx5_del_flow_rules(vport->egress.allowed_vlan); in esw_acl_egress_vlan_destroy()
91 vport->egress.allowed_vlan = NULL; in esw_acl_egress_vlan_destroy()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.h134 struct mlx5_flow_handle *allowed_vlan; member