Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c33 struct mapping_ctx *chains_mapping; member
237 mapping_remove(chains->chains_mapping, MLX5_FS_DEFAULT_FLOW_TAG); in create_chain_restore()
286 mapping_remove(chains->chains_mapping, chain->id); in create_chain_restore()
301 mapping_remove(chains->chains_mapping, chain->id); in destroy_chain_restore()
740 chains_priv->chains_mapping = attr->mapping; in mlx5_chains_init()
796 struct mapping_ctx *ctx = chains->chains_mapping; in mlx5_chains_get_chain_mapping()
807 struct mapping_ctx *ctx = chains->chains_mapping; in mlx5_chains_put_chain_mapping()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c4959 struct mapping_ctx *chains_mapping; in mlx5e_tc_nic_init() local
4979 chains_mapping = mapping_create_for_id(mapping_id, MAPPING_TYPE_CHAIN, in mlx5e_tc_nic_init()
4983 if (IS_ERR(chains_mapping)) { in mlx5e_tc_nic_init()
4984 err = PTR_ERR(chains_mapping); in mlx5e_tc_nic_init()
4987 tc->mapping = chains_mapping; in mlx5e_tc_nic_init()
5000 attr.mapping = chains_mapping; in mlx5e_tc_nic_init()
5031 mapping_destroy(chains_mapping); in mlx5e_tc_nic_init()