Home
last modified time | relevance | path

Searched refs:match_param (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Dmlx5hws_definer.c87 #define HWS_GET_MATCH_PARAM(match_param, hdr) \ argument
88 MLX5_GET(fte_match_param, match_param, hdr)
90 #define HWS_IS_FLD_SET(match_param, hdr) \ argument
91 (!!(HWS_GET_MATCH_PARAM(match_param, hdr)))
93 #define HWS_IS_FLD_SET_DW_ARR(match_param, hdr, sz_in_bits) ({ \ argument
99 res = *((match_param) + (dw_off++)); \
105 #define HWS_IS_FLD_SET_SZ(match_param, hdr, sz_in_bits) \ argument
106 (((sz_in_bits) > 32) ? HWS_IS_FLD_SET_DW_ARR(match_param, hdr, sz_in_bits) : \
107 !!(HWS_GET_MATCH_PARAM(match_param, hdr)))
109 #define HWS_GET64_MATCH_PARAM(match_param, hdr) \ argument
[all …]
Dmlx5hws_bwc.c394 u32 *match_param, in hws_bwc_rule_create_async() argument
401 match_param, in hws_bwc_rule_create_async()
410 u32 *match_param, in hws_bwc_rule_create_sync() argument
420 ret = hws_bwc_rule_create_async(bwc_rule, match_param, in hws_bwc_rule_create_sync()
738 u32 *match_param, in mlx5hws_bwc_rule_create_simple() argument
821 match_param, in mlx5hws_bwc_rule_create_simple()
853 match_param, in mlx5hws_bwc_rule_create_simple()
Dmlx5hws_rule.c351 u32 *match_param, in hws_rule_create_hws() argument
369 is_update = !match_param; in hws_rule_create_hws()
427 mlx5hws_definer_create_tag(match_param, mt->fc, mt->fc_sz, in hws_rule_create_hws()
716 u32 *match_param, in mlx5hws_rule_create() argument
732 !match_param)) { in mlx5hws_rule_create()
740 match_param, in mlx5hws_rule_create()
Dmlx5hws_bwc.h48 u32 *match_param,
Dmlx5hws_matcher.h34 u32 *match_param; member
Dmlx5hws.h329 u32 *match_param,
463 u32 *match_param,
Dmlx5hws_matcher.c1094 u32 *match_param, in mlx5hws_match_template_create() argument
1104 mt->match_param = kzalloc(MLX5_ST_SZ_BYTES(fte_match_param), GFP_KERNEL); in mlx5hws_match_template_create()
1105 if (!mt->match_param) in mlx5hws_match_template_create()
1108 memcpy(mt->match_param, match_param, match_param_sz); in mlx5hws_match_template_create()
1120 kfree(mt->match_param); in mlx5hws_match_template_destroy()
Dmlx5hws_definer.h798 void mlx5hws_definer_create_tag(u32 *match_param,
831 u32 *match_param,