Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_chains.c215 u8 modact[MLX5_UN_SZ_BYTES(set_add_copy_action_in_auto)] = {}; in create_chain_restore() local
263 MLX5_SET(set_action_in, modact, action_type, MLX5_ACTION_TYPE_SET); in create_chain_restore()
264 MLX5_SET(set_action_in, modact, field, in create_chain_restore()
266 MLX5_SET(set_action_in, modact, offset, in create_chain_restore()
268 MLX5_SET(set_action_in, modact, length, in create_chain_restore()
271 MLX5_SET(set_action_in, modact, data, chain->id); in create_chain_restore()
273 1, modact); in create_chain_restore()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c597 char *modact) in mlx5_tc_ct_parse_mangle_to_mod_act() argument
603 MLX5_SET(set_action_in, modact, length, 0); in mlx5_tc_ct_parse_mangle_to_mod_act()
613 MLX5_SET(set_action_in, modact, length, 0); in mlx5_tc_ct_parse_mangle_to_mod_act()
635 MLX5_SET(set_action_in, modact, length, 16); in mlx5_tc_ct_parse_mangle_to_mod_act()
645 MLX5_SET(set_action_in, modact, length, 16); in mlx5_tc_ct_parse_mangle_to_mod_act()
659 MLX5_SET(set_action_in, modact, offset, 0); in mlx5_tc_ct_parse_mangle_to_mod_act()
660 MLX5_SET(set_action_in, modact, field, field); in mlx5_tc_ct_parse_mangle_to_mod_act()
661 MLX5_SET(set_action_in, modact, data, act->mangle.val); in mlx5_tc_ct_parse_mangle_to_mod_act()
674 char *modact; in mlx5_tc_ct_entry_create_nat() local
681 if (IS_ERR(modact)) in mlx5_tc_ct_entry_create_nat()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c267 char *modact; in mlx5e_tc_match_to_reg_set_and_get_id() local
271 if (IS_ERR(modact)) in mlx5e_tc_match_to_reg_set_and_get_id()
272 return PTR_ERR(modact); in mlx5e_tc_match_to_reg_set_and_get_id()
279 MLX5_SET(set_action_in, modact, field, mfield); in mlx5e_tc_match_to_reg_set_and_get_id()
280 MLX5_SET(set_action_in, modact, offset, moffset); in mlx5e_tc_match_to_reg_set_and_get_id()
281 MLX5_SET(set_action_in, modact, length, mlen); in mlx5e_tc_match_to_reg_set_and_get_id()
282 MLX5_SET(set_action_in, modact, data, data); in mlx5e_tc_match_to_reg_set_and_get_id()
552 char *modact; in mlx5e_tc_match_to_reg_mod_hdr_change() local
561 MLX5_SET(set_action_in, modact, field, mfield); in mlx5e_tc_match_to_reg_mod_hdr_change()
563 MLX5_SET(set_action_in, modact, length, mlen); in mlx5e_tc_match_to_reg_mod_hdr_change()
[all …]
H A Deswitch_offloads.c2235 u8 modact[MLX5_UN_SZ_BYTES(set_add_copy_action_in_auto)] = {}; in esw_create_restore_table() local
2291 MLX5_SET(copy_action_in, modact, action_type, MLX5_ACTION_TYPE_COPY); in esw_create_restore_table()
2292 MLX5_SET(copy_action_in, modact, src_field, in esw_create_restore_table()
2294 MLX5_SET(copy_action_in, modact, dst_field, in esw_create_restore_table()
2298 modact); in esw_create_restore_table()