Home
last modified time | relevance | path

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

/linux-6.1.9/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()
96 vport->ingress.offloads.modify_metadata_rule = in esw_acl_ingress_mod_metadata_create()
99 if (IS_ERR(vport->ingress.offloads.modify_metadata_rule)) { in esw_acl_ingress_mod_metadata_create()
100 err = PTR_ERR(vport->ingress.offloads.modify_metadata_rule); in esw_acl_ingress_mod_metadata_create()
105 vport->ingress.offloads.modify_metadata_rule = NULL; in esw_acl_ingress_mod_metadata_create()
113 if (!vport->ingress.offloads.modify_metadata_rule) in esw_acl_ingress_mod_metadata_destroy()
116 mlx5_del_flow_rules(vport->ingress.offloads.modify_metadata_rule); in esw_acl_ingress_mod_metadata_destroy()
118 vport->ingress.offloads.modify_metadata_rule = NULL; in esw_acl_ingress_mod_metadata_destroy()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h119 struct mlx5_flow_handle *modify_metadata_rule; member