Home
last modified time | relevance | path

Searched refs:sw_field (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c1603 u16 sw_field; in dr_action_modify_sw_to_hw_add() local
1607 sw_field = MLX5_GET(set_action_in, sw_action, field); in dr_action_modify_sw_to_hw_add()
1611 hw_action_info = mlx5dr_ste_conv_modify_hdr_sw_field(dmn->ste_ctx, sw_field); in dr_action_modify_sw_to_hw_add()
1639 u16 sw_field; in dr_action_modify_sw_to_hw_set() local
1645 sw_field = MLX5_GET(set_action_in, sw_action, field); in dr_action_modify_sw_to_hw_set()
1649 hw_action_info = mlx5dr_ste_conv_modify_hdr_sw_field(dmn->ste_ctx, sw_field); in dr_action_modify_sw_to_hw_set()
1780 u16 sw_field = MLX5_GET(set_action_in, sw_action, field); in dr_action_modify_check_set_field_limitation() local
1783 if (sw_field == MLX5_ACTION_IN_FIELD_METADATA_REG_A) { in dr_action_modify_check_set_field_limitation()
1787 sw_field); in dr_action_modify_check_set_field_limitation()
1790 } else if (sw_field == MLX5_ACTION_IN_FIELD_METADATA_REG_B) { in dr_action_modify_check_set_field_limitation()
[all …]
Ddr_ste.c574 mlx5dr_ste_conv_modify_hdr_sw_field(struct mlx5dr_ste_ctx *ste_ctx, u16 sw_field) in mlx5dr_ste_conv_modify_hdr_sw_field() argument
578 if (sw_field >= ste_ctx->modify_field_arr_sz) in mlx5dr_ste_conv_modify_hdr_sw_field()
581 hw_field = &ste_ctx->modify_field_arr[sw_field]; in mlx5dr_ste_conv_modify_hdr_sw_field()
Ddr_types.h349 mlx5dr_ste_conv_modify_hdr_sw_field(struct mlx5dr_ste_ctx *ste_ctx, u16 sw_field);