Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c1353 u16 sw_field; in dr_action_modify_sw_to_hw_add() local
1357 sw_field = MLX5_GET(set_action_in, sw_action, field); in dr_action_modify_sw_to_hw_add()
1361 hw_action_info = mlx5dr_ste_conv_modify_hdr_sw_field(dmn->ste_ctx, sw_field); in dr_action_modify_sw_to_hw_add()
1389 u16 sw_field; in dr_action_modify_sw_to_hw_set() local
1395 sw_field = MLX5_GET(set_action_in, sw_action, field); in dr_action_modify_sw_to_hw_set()
1399 hw_action_info = mlx5dr_ste_conv_modify_hdr_sw_field(dmn->ste_ctx, sw_field); in dr_action_modify_sw_to_hw_set()
1530 u16 sw_field = MLX5_GET(set_action_in, sw_action, field); in dr_action_modify_check_set_field_limitation() local
1533 if (sw_field == MLX5_ACTION_IN_FIELD_METADATA_REG_A) { in dr_action_modify_check_set_field_limitation()
1537 sw_field); in dr_action_modify_check_set_field_limitation()
1540 } else if (sw_field == MLX5_ACTION_IN_FIELD_METADATA_REG_B) { in dr_action_modify_check_set_field_limitation()
[all …]
Ddr_ste.c557 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
561 if (sw_field >= ste_ctx->modify_field_arr_sz) in mlx5dr_ste_conv_modify_hdr_sw_field()
564 hw_field = &ste_ctx->modify_field_arr[sw_field]; in mlx5dr_ste_conv_modify_hdr_sw_field()
Ddr_types.h324 mlx5dr_ste_conv_modify_hdr_sw_field(struct mlx5dr_ste_ctx *ste_ctx, u16 sw_field);