Searched refs:definer (Results 1 – 5 of 5) 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()312 lag_definer->definer = in mlx5_lag_create_definer()315 if (IS_ERR(lag_definer->definer)) { in mlx5_lag_create_definer()316 err = PTR_ERR(lag_definer->definer); in mlx5_lag_create_definer()329 mlx5_destroy_match_definer(dev, lag_definer->definer); in mlx5_lag_create_definer()353 mlx5_destroy_match_definer(dev, lag_definer->definer); in mlx5_lag_destroy_definer()
10 struct mlx5_flow_definer *definer; member
327 struct mlx5_flow_definer *definer);328 int mlx5_get_match_definer_id(struct mlx5_flow_definer *definer);
3680 int mlx5_get_match_definer_id(struct mlx5_flow_definer *definer) in mlx5_get_match_definer_id() argument3682 return definer->id; in mlx5_get_match_definer_id()3691 struct mlx5_flow_definer *definer; in mlx5_create_match_definer() local3698 definer = kzalloc(sizeof(*definer), GFP_KERNEL); in mlx5_create_match_definer()3699 if (!definer) in mlx5_create_match_definer()3702 definer->ns_type = ns_type; in mlx5_create_match_definer()3706 kfree(definer); in mlx5_create_match_definer()3709 definer->id = id; in mlx5_create_match_definer()3710 return definer; in mlx5_create_match_definer()3714 struct mlx5_flow_definer *definer) in mlx5_destroy_match_definer() argument[all …]