Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dinternal.h31 #define DW_SIZE 4 macro
33 #define BITS_IN_DW (BITS_IN_BYTE * DW_SIZE)
H A Ddefiner.c72 _HWS_SET32(p, (v) & second_dw_mask, (byte_off) + DW_SIZE, \
1245 fc->byte_off = caps->format_select_gtpu_dw_1 * DW_SIZE; in hws_definer_conv_misc3()
1261 fc->byte_off = caps->format_select_gtpu_dw_0 * DW_SIZE; in hws_definer_conv_misc3()
1277 fc->byte_off = caps->format_select_gtpu_dw_0 * DW_SIZE; in hws_definer_conv_misc3()
1669 byte_offset = hl_byte_off % DW_SIZE; in hws_definer_find_byte_in_tag()
1678 byte_offset = DW_SIZE * DW_SELECTORS; in hws_definer_find_byte_in_tag()
1706 byte_diff = fc->byte_off % DW_SIZE - tag_offset % DW_SIZE; in hws_definer_fc_bind()
1770 if (cur_dw * DW_SIZE > 255) in hws_definer_best_hl_fit_recu()
1783 for (i = 0; i < DW_SIZE; i++) in hws_definer_best_hl_fit_recu()
1787 ctrl->byte_selector[byte_idx] = cur_dw * DW_SIZE + i; in hws_definer_best_hl_fit_recu()
[all …]
H A Dcmd.c195 inlen = align((MLX5_ST_SZ_BYTES(set_fte_in) + total_dest_sz), DW_SIZE); in mlx5hws_cmd_set_fte()
686 MLX5_SET(header_modify_pattern_in, pattern, pattern_length, pattern_length / (2 * DW_SIZE)); in mlx5hws_cmd_header_modify_pattern_create()
825 insz = align(cmd_total_sz + attr->data_sz - cmd_data_sz, DW_SIZE); in mlx5hws_cmd_packet_reformat_create()