Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_chains.c295 u8 modact[MLX5_UN_SZ_BYTES(set_add_copy_action_in_auto)] = {}; in create_chain_restore() local
344 MLX5_SET(set_action_in, modact, action_type, MLX5_ACTION_TYPE_SET); in create_chain_restore()
345 MLX5_SET(set_action_in, modact, field, in create_chain_restore()
347 MLX5_SET(set_action_in, modact, offset, in create_chain_restore()
349 MLX5_SET(set_action_in, modact, length, in create_chain_restore()
351 MLX5_SET(set_action_in, modact, data, chain->id); in create_chain_restore()
353 1, modact); in create_chain_restore()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c534 char *modact) in mlx5_tc_ct_parse_mangle_to_mod_act() argument
540 MLX5_SET(set_action_in, modact, length, 0); in mlx5_tc_ct_parse_mangle_to_mod_act()
550 MLX5_SET(set_action_in, modact, length, 0); in mlx5_tc_ct_parse_mangle_to_mod_act()
572 MLX5_SET(set_action_in, modact, length, 16); in mlx5_tc_ct_parse_mangle_to_mod_act()
582 MLX5_SET(set_action_in, modact, length, 16); in mlx5_tc_ct_parse_mangle_to_mod_act()
595 MLX5_SET(set_action_in, modact, action_type, MLX5_ACTION_TYPE_SET); in mlx5_tc_ct_parse_mangle_to_mod_act()
596 MLX5_SET(set_action_in, modact, offset, 0); in mlx5_tc_ct_parse_mangle_to_mod_act()
597 MLX5_SET(set_action_in, modact, field, field); in mlx5_tc_ct_parse_mangle_to_mod_act()
598 MLX5_SET(set_action_in, modact, data, act->mangle.val); in mlx5_tc_ct_parse_mangle_to_mod_act()
612 char *modact; in mlx5_tc_ct_entry_create_nat() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c1647 u8 modact[MLX5_UN_SZ_BYTES(set_add_copy_action_in_auto)] = {}; in esw_create_restore_table() local
1704 MLX5_SET(copy_action_in, modact, action_type, MLX5_ACTION_TYPE_COPY); in esw_create_restore_table()
1705 MLX5_SET(copy_action_in, modact, src_field, in esw_create_restore_table()
1707 MLX5_SET(copy_action_in, modact, dst_field, in esw_create_restore_table()
1711 modact); in esw_create_restore_table()
H A Den_tc.c251 char *modact; in mlx5e_tc_match_to_reg_set() local
258 modact = mod_hdr_acts->actions + in mlx5e_tc_match_to_reg_set()
265 MLX5_SET(set_action_in, modact, action_type, MLX5_ACTION_TYPE_SET); in mlx5e_tc_match_to_reg_set()
266 MLX5_SET(set_action_in, modact, field, mfield); in mlx5e_tc_match_to_reg_set()
267 MLX5_SET(set_action_in, modact, offset, moffset * 8); in mlx5e_tc_match_to_reg_set()
268 MLX5_SET(set_action_in, modact, length, mlen * 8); in mlx5e_tc_match_to_reg_set()
269 MLX5_SET(set_action_in, modact, data, data); in mlx5e_tc_match_to_reg_set()