Home
last modified time | relevance | path

Searched refs:drop_rule (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Degress_lgcy.c12 if (!IS_ERR_OR_NULL(vport->egress.legacy.drop_rule)) { in esw_acl_egress_lgcy_rules_destroy()
13 mlx5_del_flow_rules(vport->egress.legacy.drop_rule); in esw_acl_egress_lgcy_rules_destroy()
14 vport->egress.legacy.drop_rule = NULL; in esw_acl_egress_lgcy_rules_destroy()
142 vport->egress.legacy.drop_rule = in esw_acl_egress_lgcy_setup()
145 if (IS_ERR(vport->egress.legacy.drop_rule)) { in esw_acl_egress_lgcy_setup()
146 err = PTR_ERR(vport->egress.legacy.drop_rule); in esw_acl_egress_lgcy_setup()
150 vport->egress.legacy.drop_rule = NULL; in esw_acl_egress_lgcy_setup()
H A Dingress_lgcy.c11 if (vport->ingress.legacy.drop_rule) { in esw_acl_ingress_lgcy_rules_destroy()
12 mlx5_del_flow_rules(vport->ingress.legacy.drop_rule); in esw_acl_ingress_lgcy_rules_destroy()
13 vport->ingress.legacy.drop_rule = NULL; in esw_acl_ingress_lgcy_rules_destroy()
267 vport->ingress.legacy.drop_rule = in esw_acl_ingress_lgcy_setup()
270 if (IS_ERR(vport->ingress.legacy.drop_rule)) { in esw_acl_ingress_lgcy_setup()
271 err = PTR_ERR(vport->ingress.legacy.drop_rule); in esw_acl_ingress_lgcy_setup()
275 vport->ingress.legacy.drop_rule = NULL; in esw_acl_ingress_lgcy_setup()
H A Dingress_ofld.c147 vport->ingress.offloads.drop_rule = flow_rule; in esw_acl_ingress_src_port_drop_create()
160 if (!vport->ingress.offloads.drop_rule) in esw_acl_ingress_src_port_drop_destroy()
163 mlx5_del_flow_rules(vport->ingress.offloads.drop_rule); in esw_acl_ingress_src_port_drop_destroy()
164 vport->ingress.offloads.drop_rule = NULL; in esw_acl_ingress_src_port_drop_destroy()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.h106 struct mlx5_flow_handle *drop_rule; member
122 struct mlx5_flow_handle *drop_rule; member
139 struct mlx5_flow_handle *drop_rule; member