Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c74 struct mapping_ctx *zone_mapping; member
1813 err = mapping_add(ct_priv->zone_mapping, &zone, &ft->zone_restore_id); in mlx5_tc_ct_add_ft_cb()
1851 mapping_remove(ct_priv->zone_mapping, ft->zone_restore_id); in mlx5_tc_ct_add_ft_cb()
1879 mapping_remove(ct_priv->zone_mapping, ft->zone_restore_id); in mlx5_tc_ct_del_ft_cb()
2177 ct_priv->zone_mapping = mapping_create_for_id(mapping_id, MAPPING_TYPE_ZONE, in mlx5_tc_ct_init()
2179 if (IS_ERR(ct_priv->zone_mapping)) { in mlx5_tc_ct_init()
2180 err = PTR_ERR(ct_priv->zone_mapping); in mlx5_tc_ct_init()
2253 mapping_destroy(ct_priv->zone_mapping); in mlx5_tc_ct_init()
2279 mapping_destroy(ct_priv->zone_mapping); in mlx5_tc_ct_clean()
2300 if (mapping_find(ct_priv->zone_mapping, zone_restore_id, &zone)) in mlx5e_tc_ct_restore_flow()