Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c1258 u16 sw_field; in dr_action_modify_sw_to_hw_add() local
1262 sw_field = MLX5_GET(set_action_in, sw_action, field); in dr_action_modify_sw_to_hw_add()
1266 hw_action_info = mlx5dr_ste_conv_modify_hdr_sw_field(dmn->ste_ctx, sw_field); in dr_action_modify_sw_to_hw_add()
1294 u16 sw_field; in dr_action_modify_sw_to_hw_set() local
1300 sw_field = MLX5_GET(set_action_in, sw_action, field); in dr_action_modify_sw_to_hw_set()
1304 hw_action_info = mlx5dr_ste_conv_modify_hdr_sw_field(dmn->ste_ctx, sw_field); in dr_action_modify_sw_to_hw_set()
1435 u16 sw_field = MLX5_GET(set_action_in, sw_action, field); in dr_action_modify_check_set_field_limitation() local
1438 if (sw_field == MLX5_ACTION_IN_FIELD_METADATA_REG_A) { in dr_action_modify_check_set_field_limitation()
1442 sw_field); in dr_action_modify_check_set_field_limitation()
1445 } else if (sw_field == MLX5_ACTION_IN_FIELD_METADATA_REG_B) { in dr_action_modify_check_set_field_limitation()
[all …]
Ddr_ste.c543 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
547 if (sw_field >= ste_ctx->modify_field_arr_sz) in mlx5dr_ste_conv_modify_hdr_sw_field()
550 hw_field = &ste_ctx->modify_field_arr[sw_field]; in mlx5dr_ste_conv_modify_hdr_sw_field()
Ddr_types.h321 mlx5dr_ste_conv_modify_hdr_sw_field(struct mlx5dr_ste_ctx *ste_ctx, u16 sw_field);