Home
last modified time | relevance | path

Searched refs:allow_rule (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dhelper.c159 if (!vport->ingress.allow_rule) in esw_acl_ingress_allow_rule_destroy()
162 mlx5_del_flow_rules(vport->ingress.allow_rule); in esw_acl_ingress_allow_rule_destroy()
163 vport->ingress.allow_rule = NULL; in esw_acl_ingress_allow_rule_destroy()
H A Dingress_lgcy.c243 vport->ingress.allow_rule = mlx5_add_flow_rules(vport->ingress.acl, spec, in esw_acl_ingress_lgcy_setup()
245 if (IS_ERR(vport->ingress.allow_rule)) { in esw_acl_ingress_lgcy_setup()
246 err = PTR_ERR(vport->ingress.allow_rule); in esw_acl_ingress_lgcy_setup()
250 vport->ingress.allow_rule = NULL; in esw_acl_ingress_lgcy_setup()
H A Dingress_ofld.c51 vport->ingress.allow_rule = mlx5_add_flow_rules(vport->ingress.acl, spec, in esw_acl_ingress_prio_tag_create()
53 if (IS_ERR(vport->ingress.allow_rule)) { in esw_acl_ingress_prio_tag_create()
54 err = PTR_ERR(vport->ingress.allow_rule); in esw_acl_ingress_prio_tag_create()
58 vport->ingress.allow_rule = NULL; in esw_acl_ingress_prio_tag_create()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Drdma.c17 mlx5_del_flow_rules(roce->allow_rule); in mlx5_rdma_disable_roce_steering()
90 roce->allow_rule = flow_rule; in mlx5_rdma_enable_roce_steering()
H A Deswitch.h100 struct mlx5_flow_handle *allow_rule; member
/openbmc/linux/include/linux/mlx5/
H A Ddriver.h543 struct mlx5_flow_handle *allow_rule; member