Home
last modified time | relevance | path

Searched refs:set_action_in (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dingress_ofld.c73 MLX5_SET(set_action_in, action, action_type, MLX5_ACTION_TYPE_SET); in esw_acl_ingress_mod_metadata_create()
74 MLX5_SET(set_action_in, action, field, in esw_acl_ingress_mod_metadata_create()
76 MLX5_SET(set_action_in, action, data, key); in esw_acl_ingress_mod_metadata_create()
77 MLX5_SET(set_action_in, action, offset, in esw_acl_ingress_mod_metadata_create()
79 MLX5_SET(set_action_in, action, length, in esw_acl_ingress_mod_metadata_create()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_fw.c43 MLX5_SET(set_action_in, &modify_ttl_action, action_type, MLX5_ACTION_TYPE_ADD); in mlx5dr_fw_create_recalc_cs_ft()
44 MLX5_SET(set_action_in, &modify_ttl_action, field, MLX5_ACTION_IN_FIELD_OUT_IP_TTL); in mlx5dr_fw_create_recalc_cs_ft()
Ddr_action.c1259 sw_field = MLX5_GET(set_action_in, sw_action, field); in dr_action_modify_sw_to_hw_add()
1260 data = MLX5_GET(set_action_in, sw_action, data); in dr_action_modify_sw_to_hw_add()
1295 length = MLX5_GET(set_action_in, sw_action, length); in dr_action_modify_sw_to_hw_set()
1296 offset = MLX5_GET(set_action_in, sw_action, offset); in dr_action_modify_sw_to_hw_set()
1297 sw_field = MLX5_GET(set_action_in, sw_action, field); in dr_action_modify_sw_to_hw_set()
1298 data = MLX5_GET(set_action_in, sw_action, data); in dr_action_modify_sw_to_hw_set()
1398 action = MLX5_GET(set_action_in, sw_action, action_type); in dr_action_modify_sw_to_hw()
1432 u16 sw_field = MLX5_GET(set_action_in, sw_action, field); in dr_action_modify_check_set_field_limitation()
1463 u16 sw_field = MLX5_GET(set_action_in, sw_action, field); in dr_action_modify_check_add_field_limitation()
1523 action_type = MLX5_GET(set_action_in, sw_action, action_type); in dr_action_modify_check_field_limitation()
[all …]
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c258 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()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_fs.c494 MLX5_SET(set_action_in, action, action_type, MLX5_ACTION_TYPE_SET); in rx_add_rule()
495 MLX5_SET(set_action_in, action, field, MLX5_ACTION_IN_FIELD_METADATA_REG_B); in rx_add_rule()
496 MLX5_SET(set_action_in, action, data, (ipsec_obj_id | BIT(31))); in rx_add_rule()
497 MLX5_SET(set_action_in, action, offset, 0); in rx_add_rule()
498 MLX5_SET(set_action_in, action, length, 32); in rx_add_rule()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c541 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()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c223 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()
327 MLX5_SET(set_action_in, modact, action_type, MLX5_ACTION_TYPE_SET); in mlx5e_tc_match_to_reg_mod_hdr_change()
328 MLX5_SET(set_action_in, modact, field, mfield); in mlx5e_tc_match_to_reg_mod_hdr_change()
329 MLX5_SET(set_action_in, modact, offset, moffset); in mlx5e_tc_match_to_reg_mod_hdr_change()
330 MLX5_SET(set_action_in, modact, length, mlen); in mlx5e_tc_match_to_reg_mod_hdr_change()
331 MLX5_SET(set_action_in, modact, data, data); in mlx5e_tc_match_to_reg_mod_hdr_change()
[all …]
/Linux-v5.15/include/linux/mlx5/
Dmlx5_ifc.h5922 struct mlx5_ifc_set_action_in_bits set_action_in; member