Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dingress_ofld.c43 if (vport->ingress.offloads.modify_metadata_rule) { in esw_acl_ingress_prio_tag_create()
95 vport->ingress.offloads.modify_metadata_rule = in esw_acl_ingress_mod_metadata_create()
98 if (IS_ERR(vport->ingress.offloads.modify_metadata_rule)) { in esw_acl_ingress_mod_metadata_create()
99 err = PTR_ERR(vport->ingress.offloads.modify_metadata_rule); in esw_acl_ingress_mod_metadata_create()
104 vport->ingress.offloads.modify_metadata_rule = NULL; in esw_acl_ingress_mod_metadata_create()
112 if (!vport->ingress.offloads.modify_metadata_rule) in esw_acl_ingress_mod_metadata_destroy()
115 mlx5_del_flow_rules(vport->ingress.offloads.modify_metadata_rule); in esw_acl_ingress_mod_metadata_destroy()
117 vport->ingress.offloads.modify_metadata_rule = NULL; in esw_acl_ingress_mod_metadata_destroy()
/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h114 struct mlx5_flow_handle *modify_metadata_rule; member