Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.h60 u32 *chain_mapping);
63 u32 chain_mapping);
Dfs_chains.c785 u32 *chain_mapping) in mlx5_chains_get_chain_mapping() argument
792 return mapping_add(ctx, &mapped_obj, chain_mapping); in mlx5_chains_get_chain_mapping()
796 mlx5_chains_put_chain_mapping(struct mlx5_fs_chains *chains, u32 chain_mapping) in mlx5_chains_put_chain_mapping() argument
800 return mapping_remove(ctx, chain_mapping); in mlx5_chains_put_chain_mapping()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_priv.h114 u32 chain_mapping; member
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c1506 u32 chain_mapping = 0; in mlx5e_tc_offload_to_slow_path() local
1522 err = mlx5_chains_get_chain_mapping(esw_chains(esw), flow->attr->chain, &chain_mapping); in mlx5e_tc_offload_to_slow_path()
1527 MAPPED_OBJ_TO_REG, chain_mapping); in mlx5e_tc_offload_to_slow_path()
1549 flow->chain_mapping = chain_mapping; in mlx5e_tc_offload_to_slow_path()
1563 mlx5_chains_put_chain_mapping(esw_chains(esw), chain_mapping); in mlx5e_tc_offload_to_slow_path()
1593 mlx5_chains_put_chain_mapping(esw_chains(esw), flow->chain_mapping); in mlx5e_tc_unoffload_from_slow_path()
1594 flow->chain_mapping = 0; in mlx5e_tc_unoffload_from_slow_path()