Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c524 struct mlx5_ct_zone_rule *zone_rule = &entry->zone_rules[nat]; in mlx5_tc_ct_entry_del_rule() local
525 struct mlx5_flow_attr *attr = zone_rule->attr; in mlx5_tc_ct_entry_del_rule()
529 ct_priv->fs_ops->ct_rule_del(ct_priv->fs, zone_rule->rule); in mlx5_tc_ct_entry_del_rule()
530 mlx5_tc_ct_entry_destroy_mod_hdr(ct_priv, zone_rule->attr, zone_rule->mh); in mlx5_tc_ct_entry_del_rule()
807 struct mlx5_ct_zone_rule *zone_rule = &entry->zone_rules[nat]; in mlx5_tc_ct_entry_add_rule() local
813 zone_rule->nat = nat; in mlx5_tc_ct_entry_add_rule()
826 &zone_rule->mh, in mlx5_tc_ct_entry_add_rule()
854 zone_rule->rule = ct_priv->fs_ops->ct_rule_add(ct_priv->fs, spec, attr, flow_rule); in mlx5_tc_ct_entry_add_rule()
855 if (IS_ERR(zone_rule->rule)) { in mlx5_tc_ct_entry_add_rule()
856 err = PTR_ERR(zone_rule->rule); in mlx5_tc_ct_entry_add_rule()
[all …]