Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c215 u8 modact[MLX5_UN_SZ_BYTES(set_add_copy_action_in_auto)] = {}; in create_chain_restore() local
262 MLX5_SET(set_action_in, modact, action_type, MLX5_ACTION_TYPE_SET); in create_chain_restore()
263 MLX5_SET(set_action_in, modact, field, in create_chain_restore()
265 MLX5_SET(set_action_in, modact, offset, in create_chain_restore()
267 MLX5_SET(set_action_in, modact, length, in create_chain_restore()
270 MLX5_SET(set_action_in, modact, data, chain->id); in create_chain_restore()
272 1, modact); in create_chain_restore()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c608 char *modact) in mlx5_tc_ct_parse_mangle_to_mod_act() argument
614 MLX5_SET(set_action_in, modact, length, 0); in mlx5_tc_ct_parse_mangle_to_mod_act()
624 MLX5_SET(set_action_in, modact, length, 0); in mlx5_tc_ct_parse_mangle_to_mod_act()
646 MLX5_SET(set_action_in, modact, length, 16); in mlx5_tc_ct_parse_mangle_to_mod_act()
656 MLX5_SET(set_action_in, modact, length, 16); in mlx5_tc_ct_parse_mangle_to_mod_act()
669 MLX5_SET(set_action_in, modact, action_type, MLX5_ACTION_TYPE_SET); in mlx5_tc_ct_parse_mangle_to_mod_act()
670 MLX5_SET(set_action_in, modact, offset, 0); in mlx5_tc_ct_parse_mangle_to_mod_act()
671 MLX5_SET(set_action_in, modact, field, field); in mlx5_tc_ct_parse_mangle_to_mod_act()
672 MLX5_SET(set_action_in, modact, data, act->mangle.val); in mlx5_tc_ct_parse_mangle_to_mod_act()
685 char *modact; in mlx5_tc_ct_entry_create_nat() local
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c249 char *modact; in mlx5e_tc_match_to_reg_set_and_get_id() local
252 modact = mlx5e_mod_hdr_alloc(mdev, ns, mod_hdr_acts); in mlx5e_tc_match_to_reg_set_and_get_id()
253 if (IS_ERR(modact)) in mlx5e_tc_match_to_reg_set_and_get_id()
254 return PTR_ERR(modact); in mlx5e_tc_match_to_reg_set_and_get_id()
260 MLX5_SET(set_action_in, modact, action_type, MLX5_ACTION_TYPE_SET); in mlx5e_tc_match_to_reg_set_and_get_id()
261 MLX5_SET(set_action_in, modact, field, mfield); in mlx5e_tc_match_to_reg_set_and_get_id()
262 MLX5_SET(set_action_in, modact, offset, moffset); in mlx5e_tc_match_to_reg_set_and_get_id()
263 MLX5_SET(set_action_in, modact, length, mlen); in mlx5e_tc_match_to_reg_set_and_get_id()
264 MLX5_SET(set_action_in, modact, data, data); in mlx5e_tc_match_to_reg_set_and_get_id()
522 char *modact; in mlx5e_tc_match_to_reg_mod_hdr_change() local
[all …]
Deswitch_offloads.c2221 u8 modact[MLX5_UN_SZ_BYTES(set_add_copy_action_in_auto)] = {}; in esw_create_restore_table() local
2277 MLX5_SET(copy_action_in, modact, action_type, MLX5_ACTION_TYPE_COPY); in esw_create_restore_table()
2278 MLX5_SET(copy_action_in, modact, src_field, in esw_create_restore_table()
2280 MLX5_SET(copy_action_in, modact, dst_field, in esw_create_restore_table()
2284 modact); in esw_create_restore_table()