Home
last modified time | relevance | path

Searched refs:hw_action (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_trap.c172 enum mlxsw_reg_hpkt_action hw_action; in mlxsw_sp_trap_action_set() local
182 hw_action = MLXSW_REG_HPKT_ACTION_SET_FW_DEFAULT; in mlxsw_sp_trap_action_set()
185 hw_action = MLXSW_REG_HPKT_ACTION_TRAP_EXCEPTION_TO_CPU; in mlxsw_sp_trap_action_set()
192 hw_action); in mlxsw_sp_trap_action_set()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c1218 __be64 *hw_action, in dr_action_modify_sw_to_hw() argument
1267 MLX5_SET(dr_action_hw_set, hw_action, opcode, hw_opcode); in dr_action_modify_sw_to_hw()
1269 MLX5_SET(dr_action_hw_set, hw_action, destination_field_code, in dr_action_modify_sw_to_hw()
1272 MLX5_SET(dr_action_hw_set, hw_action, destination_left_shifter, in dr_action_modify_sw_to_hw()
1275 MLX5_SET(dr_action_hw_set, hw_action, destination_length, in dr_action_modify_sw_to_hw()
1278 MLX5_SET(dr_action_hw_set, hw_action, inline_data, data); in dr_action_modify_sw_to_hw()
1350 __be64 hw_action; in dr_actions_convert_modify_header() local
1367 &hw_action, in dr_actions_convert_modify_header()
1405 hw_actions[hw_idx] = hw_action; in dr_actions_convert_modify_header()