Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.h59 u32 *chain_mapping);
62 u32 chain_mapping);
Dfs_chains.c794 u32 *chain_mapping) in mlx5_chains_get_chain_mapping() argument
801 return mapping_add(ctx, &mapped_obj, chain_mapping); in mlx5_chains_get_chain_mapping()
805 mlx5_chains_put_chain_mapping(struct mlx5_fs_chains *chains, u32 chain_mapping) in mlx5_chains_put_chain_mapping() argument
809 return mapping_remove(ctx, chain_mapping); in mlx5_chains_put_chain_mapping()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_priv.h115 u32 chain_mapping; member
Dtc_ct.c88 u32 chain_mapping; member
1819 int chain_mapping = 0, err; in __mlx5_tc_ct_flow_offload() local
1858 &chain_mapping); in __mlx5_tc_ct_flow_offload()
1863 ct_flow->chain_mapping = chain_mapping; in __mlx5_tc_ct_flow_offload()
1866 CHAIN_TO_REG, chain_mapping); in __mlx5_tc_ct_flow_offload()
1917 mlx5_chains_put_chain_mapping(ct_priv->chains, ct_flow->chain_mapping); in __mlx5_tc_ct_flow_offload()
1957 mlx5_chains_put_chain_mapping(ct_priv->chains, ct_flow->chain_mapping); in __mlx5_tc_ct_delete_flow()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c1413 u32 chain_mapping = 0; in mlx5e_tc_offload_to_slow_path() local
1429 err = mlx5_chains_get_chain_mapping(esw_chains(esw), flow->attr->chain, &chain_mapping); in mlx5e_tc_offload_to_slow_path()
1434 CHAIN_TO_REG, chain_mapping); in mlx5e_tc_offload_to_slow_path()
1456 flow->chain_mapping = chain_mapping; in mlx5e_tc_offload_to_slow_path()
1470 mlx5_chains_put_chain_mapping(esw_chains(esw), chain_mapping); in mlx5e_tc_offload_to_slow_path()
1499 mlx5_chains_put_chain_mapping(esw_chains(esw), flow->chain_mapping); in mlx5e_tc_unoffload_from_slow_path()
1500 flow->chain_mapping = 0; in mlx5e_tc_unoffload_from_slow_path()