Home
last modified time | relevance | path

Searched refs:definer (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_definer.c16 static bool dr_definer_compare(struct dr_definer_object *definer, in dr_definer_compare() argument
22 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()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dport_sel.c15 struct mlx5_flow_definer *definer, in mlx5_create_hash_flow_group() argument
27 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()
Dport_sel.h10 struct mlx5_flow_definer *definer; member
/linux-6.6.21/include/linux/mlx5/
Dfs.h327 struct mlx5_flow_definer *definer);
328 int mlx5_get_match_definer_id(struct mlx5_flow_definer *definer);
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_core.c3680 int mlx5_get_match_definer_id(struct mlx5_flow_definer *definer) in mlx5_get_match_definer_id() argument
3682 return definer->id; in mlx5_get_match_definer_id()
3691 struct mlx5_flow_definer *definer; in mlx5_create_match_definer() local
3698 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 …]