Searched refs:__mlx5_mask (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
D | mlx5hws_definer.c | 117 (fc)->s_bit_mask = __mlx5_mask(fte_match_param, s_hdr); \ 124 (fc)->bit_mask = __mlx5_mask(definer_hl, d_hdr); \ 858 curr_fc->bit_mask = __mlx5_mask(header_gre, gre_c_present); in hws_definer_conv_misc() 868 curr_fc->bit_mask = __mlx5_mask(header_gre, gre_k_present); in hws_definer_conv_misc() 878 curr_fc->bit_mask = __mlx5_mask(header_gre, gre_s_present); in hws_definer_conv_misc() 888 curr_fc->bit_mask = __mlx5_mask(header_gre, gre_protocol); in hws_definer_conv_misc() 906 curr_fc->bit_mask = __mlx5_mask(header_geneve, vni); in hws_definer_conv_misc() 916 curr_fc->bit_mask = __mlx5_mask(header_geneve, opt_len); in hws_definer_conv_misc() 926 curr_fc->bit_mask = __mlx5_mask(header_geneve, protocol_type); in hws_definer_conv_misc() 936 curr_fc->bit_mask = __mlx5_mask(header_geneve, o_flag); in hws_definer_conv_misc() [all …]
|
/linux-6.12.1/include/linux/mlx5/ |
D | device.h | 58 #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) macro 59 #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) 79 (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ 92 (~__mlx5_dw_mask(typ, fld))) | ((__mlx5_mask(typ, fld)) \ 98 __mlx5_mask(typ, fld))
|
/linux-6.12.1/drivers/infiniband/hw/mlx5/ |
D | mlx5_ib.h | 48 #define MLX5_USER_ASSIGNED_UIDX_MASK __mlx5_mask(qpc, user_index)
|