Searched refs:modact (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| D | fs_chains.c | 211 char modact[MLX5_UN_SZ_BYTES(set_add_copy_action_in_auto)]; in create_chain_restore() local 258 MLX5_SET(set_action_in, modact, action_type, MLX5_ACTION_TYPE_SET); in create_chain_restore() 259 MLX5_SET(set_action_in, modact, field, in create_chain_restore() 261 MLX5_SET(set_action_in, modact, offset, in create_chain_restore() 263 MLX5_SET(set_action_in, modact, length, in create_chain_restore() 266 MLX5_SET(set_action_in, modact, data, chain->id); in create_chain_restore() 268 1, modact); in create_chain_restore()
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | tc_ct.c | 535 char *modact) in mlx5_tc_ct_parse_mangle_to_mod_act() argument 541 MLX5_SET(set_action_in, modact, length, 0); in mlx5_tc_ct_parse_mangle_to_mod_act() 551 MLX5_SET(set_action_in, modact, length, 0); in mlx5_tc_ct_parse_mangle_to_mod_act() 573 MLX5_SET(set_action_in, modact, length, 16); in mlx5_tc_ct_parse_mangle_to_mod_act() 583 MLX5_SET(set_action_in, modact, length, 16); in mlx5_tc_ct_parse_mangle_to_mod_act() 596 MLX5_SET(set_action_in, modact, action_type, MLX5_ACTION_TYPE_SET); in mlx5_tc_ct_parse_mangle_to_mod_act() 597 MLX5_SET(set_action_in, modact, offset, 0); in mlx5_tc_ct_parse_mangle_to_mod_act() 598 MLX5_SET(set_action_in, modact, field, field); in mlx5_tc_ct_parse_mangle_to_mod_act() 599 MLX5_SET(set_action_in, modact, data, act->mangle.val); in mlx5_tc_ct_parse_mangle_to_mod_act() 613 char *modact; in mlx5_tc_ct_entry_create_nat() local [all …]
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_tc.c | 209 char *modact; in mlx5e_tc_match_to_reg_set_and_get_id() local 216 modact = mod_hdr_acts->actions + in mlx5e_tc_match_to_reg_set_and_get_id() 223 MLX5_SET(set_action_in, modact, action_type, MLX5_ACTION_TYPE_SET); in mlx5e_tc_match_to_reg_set_and_get_id() 224 MLX5_SET(set_action_in, modact, field, mfield); in mlx5e_tc_match_to_reg_set_and_get_id() 225 MLX5_SET(set_action_in, modact, offset, moffset); in mlx5e_tc_match_to_reg_set_and_get_id() 226 MLX5_SET(set_action_in, modact, length, mlen); in mlx5e_tc_match_to_reg_set_and_get_id() 227 MLX5_SET(set_action_in, modact, data, data); in mlx5e_tc_match_to_reg_set_and_get_id() 319 char *modact; in mlx5e_tc_match_to_reg_mod_hdr_change() local 321 modact = mod_hdr_acts->actions + (act_id * MLX5_MH_ACT_SZ); in mlx5e_tc_match_to_reg_mod_hdr_change() 327 MLX5_SET(set_action_in, modact, action_type, MLX5_ACTION_TYPE_SET); in mlx5e_tc_match_to_reg_mod_hdr_change() [all …]
|
| D | eswitch_offloads.c | 2021 u8 modact[MLX5_UN_SZ_BYTES(set_add_copy_action_in_auto)] = {}; in esw_create_restore_table() local 2077 MLX5_SET(copy_action_in, modact, action_type, MLX5_ACTION_TYPE_COPY); in esw_create_restore_table() 2078 MLX5_SET(copy_action_in, modact, src_field, in esw_create_restore_table() 2080 MLX5_SET(copy_action_in, modact, dst_field, in esw_create_restore_table() 2084 modact); in esw_create_restore_table()
|