Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dingress_ofld.c46 if (vport->ingress.offloads.modify_metadata_rule) { in esw_acl_ingress_prio_tag_create()
99 vport->ingress.offloads.modify_metadata_rule = in esw_acl_ingress_mod_metadata_create()
102 if (IS_ERR(vport->ingress.offloads.modify_metadata_rule)) { in esw_acl_ingress_mod_metadata_create()
103 err = PTR_ERR(vport->ingress.offloads.modify_metadata_rule); in esw_acl_ingress_mod_metadata_create()
108 vport->ingress.offloads.modify_metadata_rule = NULL; in esw_acl_ingress_mod_metadata_create()
116 if (!vport->ingress.offloads.modify_metadata_rule) in esw_acl_ingress_mod_metadata_destroy()
119 mlx5_del_flow_rules(vport->ingress.offloads.modify_metadata_rule); in esw_acl_ingress_mod_metadata_destroy()
121 vport->ingress.offloads.modify_metadata_rule = NULL; in esw_acl_ingress_mod_metadata_destroy()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.h121 struct mlx5_flow_handle *modify_metadata_rule; member