Searched refs:definer (Results 1 – 4 of 4) sorted by relevance
16 static bool dr_definer_compare(struct dr_definer_object *definer, in dr_definer_compare() argument22 if (definer->format_id != format_id) in dr_definer_compare()26 if (definer->dw_selectors[i] != dw_selectors[i]) in dr_definer_compare()30 if (definer->byte_selectors[i] != byte_selectors[i]) in dr_definer_compare()33 if (memcmp(definer->match_mask, match_mask, DR_STE_SIZE_MATCH_TAG)) in dr_definer_compare()
15 struct mlx5_flow_definer *definer, in mlx5_create_hash_flow_group() argument27 mlx5_get_match_definer_id(definer)); in mlx5_create_hash_flow_group()67 lag_definer->definer, in mlx5_lag_create_port_sel_table()316 lag_definer->definer = in mlx5_lag_create_definer()319 if (IS_ERR(lag_definer->definer)) { in mlx5_lag_create_definer()320 err = PTR_ERR(lag_definer->definer); in mlx5_lag_create_definer()333 mlx5_destroy_match_definer(dev, lag_definer->definer); in mlx5_lag_create_definer()357 mlx5_destroy_match_definer(dev, lag_definer->definer); in mlx5_lag_destroy_definer()
10 struct mlx5_flow_definer *definer; member
3691 int mlx5_get_match_definer_id(struct mlx5_flow_definer *definer) in mlx5_get_match_definer_id() argument3693 return definer->id; in mlx5_get_match_definer_id()3702 struct mlx5_flow_definer *definer; in mlx5_create_match_definer() local3709 definer = kzalloc(sizeof(*definer), GFP_KERNEL); in mlx5_create_match_definer()3710 if (!definer) in mlx5_create_match_definer()3713 definer->ns_type = ns_type; in mlx5_create_match_definer()3717 kfree(definer); in mlx5_create_match_definer()3720 definer->id = id; in mlx5_create_match_definer()3721 return definer; in mlx5_create_match_definer()3725 struct mlx5_flow_definer *definer) in mlx5_destroy_match_definer() argument[all …]