Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.h247 extern struct mlx5e_tc_attr_to_reg_mapping mlx5e_tc_attr_to_reg_mappings[];
249 #define MLX5_REG_MAPPING_MOFFSET(reg_id) (mlx5e_tc_attr_to_reg_mappings[reg_id].moffset)
250 #define MLX5_REG_MAPPING_MBITS(reg_id) (mlx5e_tc_attr_to_reg_mappings[reg_id].mlen)
251 #define MLX5_REG_MAPPING_MASK(reg_id) (GENMASK(mlx5e_tc_attr_to_reg_mappings[reg_id].mlen - 1, 0))
Den_tc.c98 struct mlx5e_tc_attr_to_reg_mapping mlx5e_tc_attr_to_reg_mappings[] = { variable
172 int soffset = mlx5e_tc_attr_to_reg_mappings[type].soffset; in mlx5e_tc_match_to_reg_match()
173 int moffset = mlx5e_tc_attr_to_reg_mappings[type].moffset; in mlx5e_tc_match_to_reg_match()
174 int match_len = mlx5e_tc_attr_to_reg_mappings[type].mlen; in mlx5e_tc_match_to_reg_match()
219 int soffset = mlx5e_tc_attr_to_reg_mappings[type].soffset; in mlx5e_tc_match_to_reg_get_match()
220 int moffset = mlx5e_tc_attr_to_reg_mappings[type].moffset; in mlx5e_tc_match_to_reg_get_match()
221 int match_len = mlx5e_tc_attr_to_reg_mappings[type].mlen; in mlx5e_tc_match_to_reg_get_match()
246 int moffset = mlx5e_tc_attr_to_reg_mappings[type].moffset; in mlx5e_tc_match_to_reg_set_and_get_id()
247 int mfield = mlx5e_tc_attr_to_reg_mappings[type].mfield; in mlx5e_tc_match_to_reg_set_and_get_id()
248 int mlen = mlx5e_tc_attr_to_reg_mappings[type].mlen; in mlx5e_tc_match_to_reg_set_and_get_id()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c264 mlx5e_tc_attr_to_reg_mappings[chain_to_reg].mfield); in create_chain_restore()
266 mlx5e_tc_attr_to_reg_mappings[chain_to_reg].moffset); in create_chain_restore()
268 mlx5e_tc_attr_to_reg_mappings[chain_to_reg].mlen == 32 ? in create_chain_restore()
269 0 : mlx5e_tc_attr_to_reg_mappings[chain_to_reg].mlen); in create_chain_restore()