/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
D | ingress_ofld.c | 73 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/ |
D | dr_fw.c | 43 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()
|
D | dr_action.c | 1357 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/ |
D | fs_chains.c | 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()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ipsec_fs.c | 431 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()
|
D | macsec_fs.c | 1150 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/ |
D | tc_ct.c | 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()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.c | 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() 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/ |
D | bridge.c | 1147 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/ |
D | mlx5_ifc.h | 6462 struct mlx5_ifc_set_action_in_bits set_action_in; member
|