Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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.c1357 sw_field = MLX5_GET(set_action_in, sw_action, field); in dr_action_modify_sw_to_hw_add()
1358 data = MLX5_GET(set_action_in, sw_action, data); in dr_action_modify_sw_to_hw_add()
1393 length = MLX5_GET(set_action_in, sw_action, length); in dr_action_modify_sw_to_hw_set()
1394 offset = MLX5_GET(set_action_in, sw_action, offset); in dr_action_modify_sw_to_hw_set()
1395 sw_field = MLX5_GET(set_action_in, sw_action, field); in dr_action_modify_sw_to_hw_set()
1396 data = MLX5_GET(set_action_in, sw_action, data); in dr_action_modify_sw_to_hw_set()
1496 action = MLX5_GET(set_action_in, sw_action, action_type); in dr_action_modify_sw_to_hw()
1530 u16 sw_field = MLX5_GET(set_action_in, sw_action, field); in dr_action_modify_check_set_field_limitation()
1561 u16 sw_field = MLX5_GET(set_action_in, sw_action, field); in dr_action_modify_check_add_field_limitation()
1621 action_type = MLX5_GET(set_action_in, sw_action, action_type); in dr_action_modify_check_field_limitation()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c262 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()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_fs.c431 MLX5_SET(set_action_in, action, action_type, MLX5_ACTION_TYPE_SET); in rx_add_rule()
432 MLX5_SET(set_action_in, action, field, MLX5_ACTION_IN_FIELD_METADATA_REG_B); in rx_add_rule()
433 MLX5_SET(set_action_in, action, data, (ipsec_obj_id | BIT(31))); in rx_add_rule()
434 MLX5_SET(set_action_in, action, offset, 0); in rx_add_rule()
435 MLX5_SET(set_action_in, action, length, 32); in rx_add_rule()
Dmacsec_fs.c1150 MLX5_SET(set_action_in, action, action_type, MLX5_ACTION_TYPE_SET); in macsec_fs_rx_add_rule()
1151 MLX5_SET(set_action_in, action, field, MLX5_ACTION_IN_FIELD_METADATA_REG_B); in macsec_fs_rx_add_rule()
1152 MLX5_SET(set_action_in, action, data, MLX5_MACSEC_RX_METADAT_HANDLE(fs_id) | BIT(30)); in macsec_fs_rx_add_rule()
1153 MLX5_SET(set_action_in, action, offset, 0); in macsec_fs_rx_add_rule()
1154 MLX5_SET(set_action_in, action, length, 32); in macsec_fs_rx_add_rule()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c614 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()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c260 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()
530 MLX5_SET(set_action_in, modact, action_type, MLX5_ACTION_TYPE_SET); in mlx5e_tc_match_to_reg_mod_hdr_change()
531 MLX5_SET(set_action_in, modact, field, mfield); in mlx5e_tc_match_to_reg_mod_hdr_change()
532 MLX5_SET(set_action_in, modact, offset, moffset); in mlx5e_tc_match_to_reg_mod_hdr_change()
533 MLX5_SET(set_action_in, modact, length, mlen); in mlx5e_tc_match_to_reg_mod_hdr_change()
534 MLX5_SET(set_action_in, modact, data, data); in mlx5e_tc_match_to_reg_mod_hdr_change()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dbridge.c1147 MLX5_SET(set_action_in, action, action_type, MLX5_ACTION_TYPE_SET); in mlx5_esw_bridge_vlan_push_mark_create()
1148 MLX5_SET(set_action_in, action, field, MLX5_ACTION_IN_FIELD_METADATA_REG_C_1); in mlx5_esw_bridge_vlan_push_mark_create()
1149 MLX5_SET(set_action_in, action, offset, 8); in mlx5_esw_bridge_vlan_push_mark_create()
1150 MLX5_SET(set_action_in, action, length, ESW_TUN_OPTS_BITS + ESW_TUN_ID_BITS); in mlx5_esw_bridge_vlan_push_mark_create()
1151 MLX5_SET(set_action_in, action, data, ESW_TUN_BRIDGE_INGRESS_PUSH_VLAN); in mlx5_esw_bridge_vlan_push_mark_create()
/linux-6.1.9/include/linux/mlx5/
Dmlx5_ifc.h6462 struct mlx5_ifc_set_action_in_bits set_action_in; member