Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_internal.h31 #define DW_SIZE 4 macro
33 #define BITS_IN_DW (BITS_IN_BYTE * DW_SIZE)
H A Dmlx5hws_definer.c72 _HWS_SET32(p, (v) & second_dw_mask, (byte_off) + DW_SIZE, \
1244 fc->byte_off = caps->format_select_gtpu_dw_1 * DW_SIZE; in hws_definer_conv_misc3()
1260 fc->byte_off = caps->format_select_gtpu_dw_0 * DW_SIZE; in hws_definer_conv_misc3()
1276 fc->byte_off = caps->format_select_gtpu_dw_0 * DW_SIZE; in hws_definer_conv_misc3()
1291 curr_fc->byte_off = caps->format_select_gtpu_dw_2 * DW_SIZE; in hws_definer_conv_misc3()
1306 curr_fc->byte_off = caps->format_select_gtpu_ext_dw_0 * DW_SIZE; in hws_definer_conv_misc3()
1321 curr_fc->byte_off = caps->format_select_gtpu_dw_0 * DW_SIZE; in hws_definer_conv_misc3()
1668 byte_offset = hl_byte_off % DW_SIZE; in hws_definer_find_byte_in_tag()
1670 if (definer->dw_selector[i] == hl_byte_off / DW_SIZE) { in hws_definer_find_byte_in_tag()
1671 *tag_byte_off = byte_offset + DW_SIZE * (DW_SELECTORS - i - 1); in hws_definer_find_byte_in_tag()
[all …]
H A Dmlx5hws_cmd.c201 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()