Searched refs:__mlx5_dw_bit_off (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | 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); \ 461 u32 dw = (type << __mlx5_dw_bit_off(header_icmp, type)) | in hws_definer_icmp_dw1_set() 462 (code << __mlx5_dw_bit_off(header_icmp, code)); in hws_definer_icmp_dw1_set() 474 u32 dw = (type << __mlx5_dw_bit_off(header_icmp, type)) | in hws_definer_icmpv6_dw1_set() 475 (code << __mlx5_dw_bit_off(header_icmp, code)); in hws_definer_icmpv6_dw1_set() 1111 curr_fc->bit_off = __mlx5_dw_bit_off(header_gre, gre_c_present); in hws_definer_conv_misc() 1121 curr_fc->bit_off = __mlx5_dw_bit_off(header_gre, gre_k_present); in hws_definer_conv_misc() 1131 curr_fc->bit_off = __mlx5_dw_bit_off(header_gre, gre_s_present); in hws_definer_conv_misc() 1141 curr_fc->bit_off = __mlx5_dw_bit_off(header_gre, gre_protocol); in hws_definer_conv_misc() [all …]
|
| /linux/include/linux/mlx5/ |
| H A 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)) & \
|