Home
last modified time | relevance | path

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

/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()
/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h101 struct mlx5_flow_handle *drop_rule; member
125 struct mlx5_flow_handle *drop_rule; member