Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_chains.c31 struct mapping_ctx *chains_mapping; member
224 !chains->chains_mapping) in create_chain_restore()
238 mapping_remove(chains->chains_mapping, MLX5_FS_DEFAULT_FLOW_TAG); in create_chain_restore()
287 mapping_remove(chains->chains_mapping, chain->id); in create_chain_restore()
302 mapping_remove(chains->chains_mapping, chain->id); in destroy_chain_restore()
384 if (chains->chains_mapping && next_ft == chains_end_ft(chains) && in mlx5_chains_add_miss_rule()
733 chains->chains_mapping = attr->mapping; in mlx5_chains_init()
787 struct mapping_ctx *ctx = chains->chains_mapping; in mlx5_chains_get_chain_mapping()
798 struct mapping_ctx *ctx = chains->chains_mapping; in mlx5_chains_put_chain_mapping()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c5137 struct mapping_ctx *chains_mapping; in mlx5e_tc_nic_init() local
5157 chains_mapping = mapping_create_for_id(mapping_id, MAPPING_TYPE_CHAIN, in mlx5e_tc_nic_init()
5161 if (IS_ERR(chains_mapping)) { in mlx5e_tc_nic_init()
5162 err = PTR_ERR(chains_mapping); in mlx5e_tc_nic_init()
5165 tc->mapping = chains_mapping; in mlx5e_tc_nic_init()
5177 attr.mapping = chains_mapping; in mlx5e_tc_nic_init()
5223 mapping_destroy(chains_mapping); in mlx5e_tc_nic_init()