Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c56 struct mapping_ctx *labels_mapping; member
419 mapping_remove(ct_priv->labels_mapping, attr->ct_attr.ct_labels_id); in mlx5_tc_ct_entry_del_rule()
622 err = mapping_add(ct_priv->labels_mapping, meta->ct_metadata.labels, in mlx5_tc_ct_entry_create_mod_hdr()
659 mapping_remove(ct_priv->labels_mapping, attr->ct_attr.ct_labels_id); in mlx5_tc_ct_entry_create_mod_hdr()
727 mapping_remove(ct_priv->labels_mapping, attr->ct_attr.ct_labels_id); in mlx5_tc_ct_entry_add_rule()
1053 mapping_remove(priv->labels_mapping, ct_attr->ct_labels_id); in mlx5_tc_ct_match_del()
1131 if (mapping_add(priv->labels_mapping, ct_labels, &ct_attr->ct_labels_id)) in mlx5_tc_ct_match_add()
1930 ct_priv->labels_mapping = mapping_create(sizeof(u32) * 4, 0, true); in mlx5_tc_ct_init()
1931 if (IS_ERR(ct_priv->labels_mapping)) { in mlx5_tc_ct_init()
1932 err = PTR_ERR(ct_priv->labels_mapping); in mlx5_tc_ct_init()
[all …]