Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ !
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()
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()
Dingress_ofld.c136 vport->ingress.offloads.drop_rule = flow_rule; in esw_acl_ingress_src_port_drop_create()
144 if (!vport->ingress.offloads.drop_rule) in esw_acl_ingress_src_port_drop_destroy()
147 mlx5_del_flow_rules(vport->ingress.offloads.drop_rule); in esw_acl_ingress_src_port_drop_destroy()
148 vport->ingress.offloads.drop_rule = NULL; in esw_acl_ingress_src_port_drop_destroy()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ !
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