/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_ste_v2.c | 47 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L2_OUT_1, .start = 0, .end = 15, 50 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L2_OUT_0, .start = 0, .end = 31, 53 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L2_OUT_1, .start = 16, .end = 31, 56 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L3_OUT_0, .start = 18, .end = 23, 59 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L4_OUT_1, .start = 16, .end = 24, 63 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L4_OUT_0, .start = 16, .end = 31, 67 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L4_OUT_0, .start = 0, .end = 15, 71 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L3_OUT_0, .start = 8, .end = 15, 75 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L3_OUT_0, .start = 8, .end = 15, 79 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L4_OUT_0, .start = 16, .end = 31, [all …]
|
H A D | dr_ste_v0.c | 116 .hw_field = DR_STE_V0_ACTION_MDFY_FLD_L2_1, .start = 16, .end = 47, 119 .hw_field = DR_STE_V0_ACTION_MDFY_FLD_L2_1, .start = 0, .end = 15, 128 .hw_field = DR_STE_V0_ACTION_MDFY_FLD_L2_0, .start = 0, .end = 15, 131 .hw_field = DR_STE_V0_ACTION_MDFY_FLD_L3_1, .start = 0, .end = 5, 138 .hw_field = DR_STE_V0_ACTION_MDFY_FLD_L4_0, .start = 0, .end = 15, 146 .hw_field = DR_STE_V0_ACTION_MDFY_FLD_L3_1, .start = 8, .end = 15, 150 .hw_field = DR_STE_V0_ACTION_MDFY_FLD_L3_1, .start = 8, .end = 15, 154 .hw_field = DR_STE_V0_ACTION_MDFY_FLD_L4_0, .start = 0, .end = 15, 166 .hw_field = DR_STE_V0_ACTION_MDFY_FLD_L3_3, .start = 0, .end = 31, 545 u8 hw_field, in dr_ste_v0_set_action_set() argument [all …]
|
H A D | dr_ste_v1.c | 146 .hw_field = DR_STE_V1_ACTION_MDFY_FLD_L2_OUT_1, .start = 0, .end = 15, 149 .hw_field = DR_STE_V1_ACTION_MDFY_FLD_L2_OUT_0, .start = 0, .end = 31, 152 .hw_field = DR_STE_V1_ACTION_MDFY_FLD_L2_OUT_1, .start = 16, .end = 31, 155 .hw_field = DR_STE_V1_ACTION_MDFY_FLD_L3_OUT_0, .start = 18, .end = 23, 158 .hw_field = DR_STE_V1_ACTION_MDFY_FLD_L4_OUT_1, .start = 16, .end = 24, 166 .hw_field = DR_STE_V1_ACTION_MDFY_FLD_L4_OUT_0, .start = 0, .end = 15, 170 .hw_field = DR_STE_V1_ACTION_MDFY_FLD_L3_OUT_0, .start = 8, .end = 15, 174 .hw_field = DR_STE_V1_ACTION_MDFY_FLD_L3_OUT_0, .start = 8, .end = 15, 182 .hw_field = DR_STE_V1_ACTION_MDFY_FLD_L4_OUT_0, .start = 0, .end = 15, 986 u8 hw_field, in dr_ste_v1_set_action_set() argument [all …]
|
H A D | dr_ste_v1.h | 26 void dr_ste_v1_set_action_set(u8 *d_action, u8 hw_field, u8 shifter, 28 void dr_ste_v1_set_action_add(u8 *d_action, u8 hw_field, u8 shifter,
|
H A D | dr_ste.h | 178 u8 hw_field, 183 u8 hw_field,
|
H A D | dr_action.c | 1593 hw_action_info->hw_field, in dr_action_modify_sw_to_hw_add() 1639 hw_action_info->hw_field, in dr_action_modify_sw_to_hw_set() 1692 hw_dst_action_info->hw_field, in dr_action_modify_sw_to_hw_copy() 1695 hw_src_action_info->hw_field, in dr_action_modify_sw_to_hw_copy() 1893 u16 hw_field = 0; in dr_actions_convert_modify_header() local 1953 if ((hw_idx % 2) && (hw_field == hw_dst_action_info->hw_field || in dr_actions_convert_modify_header() 1955 hw_field == hw_src_action_info->hw_field))) { in dr_actions_convert_modify_header() 1965 hw_field = hw_dst_action_info->hw_field; in dr_actions_convert_modify_header()
|
H A D | dr_ste.c | 576 const struct mlx5dr_ste_action_modify_field *hw_field; in mlx5dr_ste_conv_modify_hdr_sw_field() local 581 hw_field = &ste_ctx->modify_field_arr[sw_field]; in mlx5dr_ste_conv_modify_hdr_sw_field() 582 if (!hw_field->end && !hw_field->start) in mlx5dr_ste_conv_modify_hdr_sw_field() 585 return hw_field; in mlx5dr_ste_conv_modify_hdr_sw_field() 590 u8 hw_field, in mlx5dr_ste_set_action_set() argument 596 hw_field, shifter, length, data); in mlx5dr_ste_set_action_set() 601 u8 hw_field, in mlx5dr_ste_set_action_add() argument 607 hw_field, shifter, length, data); in mlx5dr_ste_set_action_add()
|
H A D | dr_types.h | 322 u8 hw_field, 328 u8 hw_field, 1013 u16 hw_field; member
|