Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.h252 extern struct mlx5e_tc_attr_to_reg_mapping mlx5e_tc_attr_to_reg_mappings[];
254 #define MLX5_REG_MAPPING_MOFFSET(reg_id) (mlx5e_tc_attr_to_reg_mappings[reg_id].moffset)
255 #define MLX5_REG_MAPPING_MBITS(reg_id) (mlx5e_tc_attr_to_reg_mappings[reg_id].mlen)
256 #define MLX5_REG_MAPPING_MASK(reg_id) (GENMASK(mlx5e_tc_attr_to_reg_mappings[reg_id].mlen - 1, 0))
H A Den_tc.c105 struct mlx5e_tc_attr_to_reg_mapping mlx5e_tc_attr_to_reg_mappings[] = { variable
190 int soffset = mlx5e_tc_attr_to_reg_mappings[type].soffset; in mlx5e_tc_match_to_reg_match()
191 int moffset = mlx5e_tc_attr_to_reg_mappings[type].moffset; in mlx5e_tc_match_to_reg_match()
192 int match_len = mlx5e_tc_attr_to_reg_mappings[type].mlen; in mlx5e_tc_match_to_reg_match()
237 int soffset = mlx5e_tc_attr_to_reg_mappings[type].soffset; in mlx5e_tc_match_to_reg_get_match()
238 int moffset = mlx5e_tc_attr_to_reg_mappings[type].moffset; in mlx5e_tc_match_to_reg_get_match()
239 int match_len = mlx5e_tc_attr_to_reg_mappings[type].mlen; in mlx5e_tc_match_to_reg_get_match()
264 int moffset = mlx5e_tc_attr_to_reg_mappings[type].moffset; in mlx5e_tc_match_to_reg_set_and_get_id()
265 int mfield = mlx5e_tc_attr_to_reg_mappings[type].mfield; in mlx5e_tc_match_to_reg_set_and_get_id()
266 int mlen = mlx5e_tc_attr_to_reg_mappings[type].mlen; in mlx5e_tc_match_to_reg_set_and_get_id()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_chains.c265 mlx5e_tc_attr_to_reg_mappings[mapped_obj_to_reg].mfield); in create_chain_restore()
267 mlx5e_tc_attr_to_reg_mappings[mapped_obj_to_reg].moffset); in create_chain_restore()
269 mlx5e_tc_attr_to_reg_mappings[mapped_obj_to_reg].mlen == 32 ? in create_chain_restore()
270 0 : mlx5e_tc_attr_to_reg_mappings[mapped_obj_to_reg].mlen); in create_chain_restore()