Searched refs:__mlx5_dw_bit_off (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
D | mlx5hws_definer.c | 118 (fc)->s_bit_off = __mlx5_dw_bit_off(fte_match_param, s_hdr); \ 125 (fc)->bit_off = __mlx5_dw_bit_off(definer_hl, d_hdr); \ 249 u32 dw = (type << __mlx5_dw_bit_off(header_icmp, type)) | in hws_definer_icmp_dw1_set() 250 (code << __mlx5_dw_bit_off(header_icmp, code)); in hws_definer_icmp_dw1_set() 262 u32 dw = (type << __mlx5_dw_bit_off(header_icmp, type)) | in hws_definer_icmpv6_dw1_set() 263 (code << __mlx5_dw_bit_off(header_icmp, code)); in hws_definer_icmpv6_dw1_set() 859 curr_fc->bit_off = __mlx5_dw_bit_off(header_gre, gre_c_present); in hws_definer_conv_misc() 869 curr_fc->bit_off = __mlx5_dw_bit_off(header_gre, gre_k_present); in hws_definer_conv_misc() 879 curr_fc->bit_off = __mlx5_dw_bit_off(header_gre, gre_s_present); in hws_definer_conv_misc() 889 curr_fc->bit_off = __mlx5_dw_bit_off(header_gre, gre_protocol); in hws_definer_conv_misc() [all …]
|
/linux-6.12.1/include/linux/mlx5/ |
D | device.h | 57 #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1… macro 59 #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) 80 << __mlx5_dw_bit_off(typ, fld))); \ 93 << __mlx5_dw_bit_off(typ, fld))); \ 97 __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \
|